Skip to content

Commit d5a71b7

Browse files
classabbyampahesford
authored andcommitted
common/environment/setup-subpkg/subpkg: add vars for python dep verif
1 parent e0db334 commit d5a71b7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Manual.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,6 +1639,13 @@ written in Python) or just single Python file ones that live in `/usr/bin`.
16391639
If `python_version` is set to `ignore`, python-containing shebangs will not be rewritten.
16401640
Use this only if a package should not be using a system version of python.
16411641

1642+
- `python_extras`: Python module extras to consider when verifying Python module dependencies.
1643+
Can be used to ensure additional dependency sets are checked. Example: `python_extras="all"`.
1644+
1645+
- `nopyprovides`: if set, don't create `provides` entries for Python modules in the package.
1646+
1647+
- `nopyverifydeps`: if set, don't verify Python module dependencies.
1648+
16421649
Also, a set of useful variables are defined to use in the templates:
16431650

16441651
| Variable | Value |

common/environment/setup-subpkg/subpkg.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ unset -v nostrip nostrip_files
1111
# hooks/post-install/14-fix-permissions
1212
unset -v nocheckperms nofixperms
1313

14+
# hooks/pre-pkg/04-generate-provides
15+
unset -v nopyprovides
16+
1417
# hooks/pre-pkg/04-generate-runtime-deps
1518
unset -v noverifyrdeps skiprdeps allow_unknown_shlibs shlib_requires
1619

@@ -20,6 +23,9 @@ unset -v lib32depends lib32disabled lib32files lib32mode lib32symlinks
2023
# hooks/pre-pkg/06-shlib-provides
2124
unset -v noshlibprovides shlib_provides
2225

26+
# hooks/pre-pkg/06-verify-python-deps
27+
unset -v noverifypydeps python_extras
28+
2329
# xbps-triggers: system-accounts
2430
unset -v system_accounts system_groups
2531

0 commit comments

Comments
 (0)