The unversioned Python RPM macros
Karolina Surma
2d0673afb1
Add new options for %%py{3}_check_import: -f, -t, -e
...
-f: optionally read a file with module names to test
-t: bool flag - if set, filter only top-level modules
-e: optionally exclude module names matching the given glob (Unix
shell-style wildcards)
Importing all modules may cause bogus failures in some cases,
eg. when the imported code assumes there is an existing graphical window.
Such behaviour may be by design, hence for automatic processing it's
more convinient to - in some cases - check only for top-level modules
or filter out the troublemakers.
2021-10-27 15:57:37 +02:00
tests
Add new options for %%py{3}_check_import: -f, -t, -e
2021-10-27 15:57:37 +02:00
.gitignore
Initial setup of the repo
2016-01-12 23:33:17 +00:00
brp-fix-pyc-reproducibility
Non-existing path in py_reproducible_pyc_path causes build to fail
2021-10-12 15:50:50 +02:00
brp-python-bytecompile
Remove unneeded arguments from the python_bytecompile function
2021-09-10 17:50:49 +02:00
brp-python-hardlink
Include brp-python-hardlink in python-srpm-macros since it is no longer in RPM 4.17+
2021-06-30 18:13:53 +02:00
compileall2.py
Update of bundled compileall2 module to 0.7.1 (bugfix release)
2020-03-31 14:24:09 +02:00
import_all_modules.py
Add new options for %%py{3}_check_import: -f, -t, -e
2021-10-27 15:57:37 +02:00
macros.pybytecompile
Use --hardlink-dupes for Python 3.4+ as well
2021-09-10 16:14:28 +02:00
macros.python
Add new options for %%py{3}_check_import: -f, -t, -e
2021-10-27 15:57:37 +02:00
macros.python3
Add new options for %%py{3}_check_import: -f, -t, -e
2021-10-27 15:57:37 +02:00
macros.python-srpm
Define a new macros %python_wheel_dir and %python_wheel_pkg_prefix
2021-10-20 16:40:57 +02:00
python-rpm-macros.spec
Add new options for %%py{3}_check_import: -f, -t, -e
2021-10-27 15:57:37 +02:00
python.lua
Update comment for python_altnames() to reflect the reality
2021-02-24 13:06:35 +01:00
sources
Initial setup of the repo
2016-01-12 23:33:17 +00:00