Thaodan | nephros: oh that looks like quite a list. Personally I'm glad that more modern python packaging is very easy. SUSE's macros make it so updating or adding a new module takes a few minutes. | 16:39 |
---|---|---|
Thaodan | you can generate spec files from pypi | 16:39 |
nephros | Thaodan: would you have an example of the suse approach? Righ now I'm using the pyproject macros from redhat you out on chum. | 21:29 |
nephros | which works mostly. | 21:30 |
nephros | but I suspect it makes more deps reuired than strictly necessary. | 21:30 |
Thaodan | nephros: these suse macros are mostly similar but also allow for parallel packaging of e.g. python311 and python312 modules in one packages. Suse also has py2pac which generates a spec file. It should work on Sailfish OS if you remove the python_files macro. | 21:32 |
Thaodan | https://github.com/openSUSE/py2pack | 21:32 |
Thaodan | https://en.opensuse.org/openSUSE:Packaging_Python | 21:33 |
Thaodan | most of the packaging is very similar | 21:34 |
Thaodan | e.g. here is suse's python rpm macros | 21:34 |
nephros | Thanks! | 21:38 |
Thaodan | np | 21:50 |
Thaodan | glad to help | 21:50 |
Thaodan | I have to look into packaging the python rpm macros pro properly | 21:50 |
Thaodan | what I noticed is that obs services allow updating packages almost automatically. I've been updating tree-sitter-grammars, each grammar took me like 15s because the spec file is update and the changelog is generate by the obs service. | 22:11 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!