Packaging questions
Hello,
I have packaged Cambalache for Fedora, and I have set up a COPR repository for it.
Before eventually sending it to review for the official repositories, I wanted to ask some questions about the changes I have made to comply with Fedora's guidelines.
Merengue
Should Merengue be installed as a different package, to allow for other project to eventually use it? It seems that Merengue is considered in the code as standalone, so it would make sense to do it that way. Also, should the package be named cambalache-merengue
(to insist on the central place of Merengue in Cambalache) or simply merengue
?
Installation path
Since Merengue seems to be considered a module in itself, I have installed it in the standard python module path (/usr/lib/python3.9/site-packages
) as well as cambalache. Adding to that, it doesn't really make any sense to have only cambalacheui in there. I have also adjusted the code accordingly to work properly. Do you want me to retain those changes and contribute them here, or instead revert them and follow your structure? Installing them in the python module path is not a requirement for packaging it in Fedora, just some consistency I added.
Python file format
Cambalache is installing bytecode directly. I can't do that in Fedora :P! Indeed, python source files need to be installed in the root directory, and bytecode to be generated by Fedora itself (and not through a meson.build
script). Are you interesting in patches upstreaming that?
All what I've patched can be found in this commit: LyesSaadi/cambalache@16c43a33