befeleme / pyp2spec

Generate Fedora RPM spec files for Python packages
MIT License
11 stars 4 forks source link

Python3 pkgversions #45

Closed MrMEEE closed 3 months ago

MrMEEE commented 4 months ago

Added support for specific python versions, issue #16

I haven't added tests for the version stuff yet, but tests for the rest looks good

Feel free to comment on anything, I hope this is up to standards (or close by) :D

befeleme commented 4 months ago

Thank you for the contribution! I looked at the code in more detail. I started to describe some points but eventually went on straight to hacking and I think I've got this in https://github.com/befeleme/pyp2spec/pull/46 - I hope you don't mind and if you can test my PR, that would be great!

I took great inspiration from how the specfiles look in C9S and wanted to make the output as close to this as possible (see e.g. python3.12-requests.

The main points:

befeleme commented 3 months ago

46 was merged, pyp2spec 0.9.0 containing the change was released.