[arch-general] Problem with packaging pyxdg and xdg from PyPI
eschwartz at archlinux.org
Sun Apr 5 16:10:15 UTC 2020
On 4/4/20 7:32 PM, Ricardo Band wrote:
> I maintain a tool called virtualfish  on the AUR. It is writte in
> python and one dependency of it is called xdg . It is not packaged
> in archlinux so I would just do that on the AUR. Problem is there
> already is a package in archlinux extra which is called python-xdg .
> That package includes a python library called pyxdg  which does
> nearly the same as xdg but is still a different library.
> In my opinion the arch packages python-xdg and python2-xdg have an
> incorrect name. They should be called python-pyxdg so the xdg module
> could be packaged under python-xdg.
> The naming schema with the python-py prefix looks odd but isn't new. It
> is already used in the pyserial  package.
> How do we solve this problem?
Also 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.
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1601 bytes
Desc: OpenPGP digital signature
More information about the arch-general