[aur-general] Dependancies and Split Packages

Justin Dray justin at dray.be
Mon Jun 23 22:01:41 EDT 2014

On Tue, Jun 24, 2014 at 8:31 AM, Storm Dragon <stormdragon2976 at gmail.com>

> Hi,
> I'm back again lol.
> Ok, so when I made p-git depend on the package pypump2-git that I made,
> and when I installed python2-click after modifying the python-click
> PKGBUILD everything works as expected.
> When, however, I make p-git require python2-click and python2-pypump-git
> it fails to build. It installs the package, for example python2-click, then
> at the end, I get something like installing python-click 100%
> Then it fails to install p-git saying dependancies are not met, missing
> python2-click and now also same error with python2-pypump-git.
> So, how can I fix it? I really want to do this stuff the right way, but I
> also want it to work at the end of the day. There's nothing worse than
> finding a nice shiny new package in the AUR and trying to build it only to
> have it fail. Should I switch back to the old way? Or, should I just put
> python setup.py and python2 setup.py in the same package() function? But,
> even if I do put them in the same function, it still won't fix my problems
> with python2-click.
> Thanks for the help
> Storm
> --
> --
> Registered Linux user number 508465: https://linuxcounter.net/user/
> 508465.html
> My blog, Thoughts of a Dragon: http://www.stormdragon.us/
> get my public PGP key: gpg --keyserver wwwkeys.pgp.net --recv-key 43DDC193
> How many Internet mail list subscribers does it take to change a
> lightbulb? http://goo.gl/eO4PJ
> "One more time we stare into the blackened sky, for tonight, in our hearts
> now we feel. One last time see our destiny reveal."
> DragonForce - The Last Journey Home

Definitely don't put both in the same pacakge. Make seperate python 2/3
packages, otherwise if someone only has python3 installed, they will be
pulling in python2 dependencies as well when they don't need it.

Justin Dray
E: justin at dray.be
M: 0433348284

More information about the aur-general mailing list