Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64173 - [python-xdg] Incorrect package name
Attached to Project:
Arch Linux
Opened by Anton Leontiev (bunder) - Saturday, 19 October 2019, 08:10 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 11:32 GMT
Opened by Anton Leontiev (bunder) - Saturday, 19 October 2019, 08:10 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 11:32 GMT
|
DetailsAs official package name is PyXDG [1, 2] is should be named python-pyxdg. Current name conflicts with xdg package [3], which is used by HotDoc [4-6], for example.
[1] https://freedesktop.org/wiki/Software/pyxdg/ [2] https://pypi.org/project/pyxdg/ [3] https://pypi.org/project/xdg/ [4] https://github.com/hotdoc/hotdoc [5] https://github.com/hotdoc/hotdoc/blob/71bbd17bfd84247472cc751ed241ccb9a5a95bd3/setup.py#L320 [6] https://aur.archlinux.org/packages/hotdoc/ |
This task depends upon
Keep in mind that since both provide 'import xdg', renaming the package wouldn't let you install both of them.
Also when renaming a repository package, we must add provides/conflicts/replaces which means a new python-xdg package would never be found from the AUR, and if manually installed, would prompt to replace it with the repo package on every singe pacman -Syu.
Fragmentation is fun.
But your right. There will never be a proper python-xdg package with the xdg module from PyPI. The only thing I can think of is that one could create a python-xdg4 package. My current solution is to put this one-file python module next to the module in virtualfish that tries to import it. It's ugly but it works and the upstream docs for the xdg package even suggests it.
Once again I say... fragmentation is fun.