fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
123 stars 39 forks source link

Add name convertor based on automatic provides #127

Closed mcyprian closed 6 years ago

mcyprian commented 7 years ago

This convertor uses standardized name format of the dependencies based on virtual Provides created during RPM build: https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

There is a command line option to enable/disable this convertor, it is disabled by default at this moment. It can be used by default for Fedora after F27 mass rebuild.

Here is the test build of spec file listing dependencies in the canonical format.

irushchyshyn commented 6 years ago

Looks good! 👍