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

Specify non-python dependencies #230

Open Cimbali opened 4 years ago

Cimbali commented 4 years ago

I’d like to know if and how I can specify non-python dependencies.

The whole point of building an RPM is that I can now properly depend on capabilities that my package depends on, but that aren’t python packages. For example, a library such as libpoppler.

With bdist_rpm I can simply add these as bdist_rpm.requires in my setup.cfg file. What’s the pyp2rpm way, if there is one, to do this?

hroncok commented 4 years ago

There is currently none. If we are ever to add one, it would be great to specify it trough something our RPM dependency generators and %pyproject_buildrequires could understand.