[Rpm-maint] [rpm-software-management/rpm] Reimplement pythondeps.sh as parametric macro generators (#1153)

Miro Hrončok notifications at github.com
Tue Mar 31 22:56:32 UTC 2020


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 should be more efficient.

Fixes https://github.com/rpm-software-management/rpm/issues/1152
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1153

-- Commit Summary --

  * Reimplement pythondeps.sh as parametric macro generators

-- File Changes --

    M fileattrs/python.attr (32)
    D scripts/pythondeps.sh (32)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1153.patch
https://github.com/rpm-software-management/rpm/pull/1153.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1153
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200331/9bf85088/attachment.html>


More information about the Rpm-maint mailing list