The python-rpm-macros rpms
This allows e.g.:
%global extras cli,ghostwriter,pytz,dateutil,lark,numpy,pandas,pytest,redis,zoneinfo,django
%{pyproject_extras_subpkg -n python3-hypothesis %{extras}}
...
%pyproject_buildrequires -x %{extras}
(Note that %pyproject_extras_subpkg is a tiny wrapper around %python_extras_subpkg.)
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| compileall2.py | ||
| macros.pybytecompile | ||
| macros.python | ||
| macros.python-srpm | ||
| macros.python3 | ||
| python-rpm-macros.spec | ||
| python.lua | ||
| sources | ||