Go to file
Miro Hrončok ff7b9b1ae0 Reimplement pythondeps.sh as parametric macro generators
pythondeps.sh was written in shell and unlike the Python dist generators,
it uses no Python, it plainly determines the provide / requires from the path.
As the script was run for every Python file, we were potentially doing hundreds
of shelling outs to execute a script that calls grep and sed.

In Lua, this is much more efficient.

Some timings:
    https://github.com/rpm-software-management/rpm/pull/1153#issuecomment-607146356

Parametric macro generators require RPM 4.16+:
    https://fedoraproject.org/wiki/Changes/RPM-4.16

Fixes https://github.com/rpm-software-management/rpm/issues/1152
Upstream PR: https://github.com/rpm-software-management/rpm/pull/1153

Since this is intended for Fedora 33+ only, clean some old cruft.
2020-04-01 15:53:15 +02:00
COPYING Fork upstream generators 2018-02-11 00:50:54 +01:00
python-rpm-generators.spec Reimplement pythondeps.sh as parametric macro generators 2020-04-01 15:53:15 +02:00
python.attr Reimplement pythondeps.sh as parametric macro generators 2020-04-01 15:53:15 +02:00
pythondist.attr Enable requires generator 2018-12-20 14:21:14 +01:00
pythondistdeps.py Also provide pythonXdist() with PEP 503 normalized names (#1791530) 2020-01-17 17:27:46 +01:00