File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
common/environment/setup-subpkg Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1639,6 +1639,13 @@ written in Python) or just single Python file ones that live in `/usr/bin`.
16391639If ` python_version ` is set to ` ignore ` , python-containing shebangs will not be rewritten.
16401640Use 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+
16421649Also, a set of useful variables are defined to use in the templates:
16431650
16441651| Variable | Value |
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ unset -v nostrip nostrip_files
1111# hooks/post-install/14-fix-permissions
1212unset -v nocheckperms nofixperms
1313
14+ # hooks/pre-pkg/04-generate-provides
15+ unset -v nopyprovides
16+
1417# hooks/pre-pkg/04-generate-runtime-deps
1518unset -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
2124unset -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
2430unset -v system_accounts system_groups
2531
You can’t perform that action at this time.
0 commit comments