New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 templates #59
Comments
Or we could create py2 and py3 packages from a single spec.
good question. I guess the easiest way for now would be to create an extra template which can be used.
I think Fedora (and most other distros) build py2 and py3 packages from a single spec file (when possible). See https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file |
How to detect if a package supports both 2 and 3 (With the same codebase, which is not always the case)?
Also the easiest to do :)
For fedora we can adapt the template to the above, but without more knowledge about Fedora, I don't want to try it. As we have different devel-projects for 2 and 3 in opensuse, that's not possible anyway. |
Hello, Best regards |
For python3 packages on opensuse, all occurences of
python-
have to be replaced withpython3
. SeeWe could do a simple replace if the major version is 3, and on the other hand we can create py3 and p2 templates, e.g.
templates/3/opensuse.spec
andtemplates/2/opensuse.spec
and we chose the version based on the python-version which is running py2pack in that moment.What would be the preferred method?
I don't know how this is handled in Fedora.
The text was updated successfully, but these errors were encountered: