On 12. 04. 26 20:28, Alexander Ploumistos wrote:
This is what I found:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ #_dist_info_metadata

Ok, so this is a bit grey area. The guidelines say:

"""
The rest of the Guidelines apply to packages that ship code that can be imported with Python’s import statement. Specifically, that is all packages that install files under /usr/lib*/python*/.
"""

Which includes this rule. So technically, as bubblemail installs to %{python3_sitelib}, it should follow the rules. On the other hand, it is not "a Python package" in the spirit of the rule above. We should probably figure out how to make that more explicit in the guidelines, but I don't know how exactly.

The meson branch just got merged and I guess a release is imminent.
The spec file is otherwise ok, with the meson and python macros
together?

The only really relevant macro there is %pyproject_buildrequires. I'd say feel free to use it as long as it does work for you, but be prepared that based on further upsteram's changes, it might stop working if they decide to drop setup.py/pyproject.toml completely.

----

Minor nitpick -- this is redundant:

  Requires:       python3

See 
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies

"""
Packages SHOULD NOT have an explicit runtime dependency on python3.
"""

--
Miro Hrončok
--
Phone: +420777974800

--
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to