fedora-python / pyp2rpm

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

Missing Requires in generated spec file #88

Open Germano0 opened 7 years ago

Germano0 commented 7 years ago

Hi everybody. pyp2rpm generates a spec file for pypi package netjsonconfig that is missing various Requires: This leaded to the following errors during package review https://bugzilla.redhat.com/show_bug.cgi?id=1391457#c10

Note: all embedded tests have been disabled as stated in comment 8

irushchyshyn commented 7 years ago

Hello @Germano0 , thank you for reporting the issue. netjsonconfig is a corner case as it has different set of dependencies in its python2/3- subpackage, which are determined when running setup.py. Currently pyp2rpm extracts metadata with Python 3 and uses it for both subpackages, as it is usually the case.