fedora-python / pyp2rpm

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

allow skipping extras_requires from (Build)Requires #213

Open evgeni opened 4 years ago

evgeni commented 4 years ago

sometimes one wants to generate a "minimal" RPM, with no extra dependencies, which this should help with.

gordonmessmer commented 4 years ago

Glancing over this, the only thing that stands out is that there are no tests. Could you identify a module that has extra requires and include a test case with and without them?

evgeni commented 4 years ago

Yes, I will add tests this week.

evgeni commented 4 years ago

@gordonmessmer how is this? I've only added tests for runtime deps as that's what I had at hand in a package of mine. Should I search for a package that does the same in build deps?

evgeni commented 4 years ago

nvm, found one