[aur-general] python packages as depends and easy_install

Jeremy Audet ichimonji10 at gmail.com
Sun Jun 22 19:29:19 EDT 2014


> Would it be ok to use easy_install-2.7 pypump in a build function or
something?

No. Please make an actual package for pypump, and make p depend on pypump
normally.

> I would just make a pypump package, but I cloned the repository, and I'm
not really sure where all that stuff goes lol.

Don't install its files manually. Use the prototype PKGBUILD that Jesse
linked to. (Thank you, Jesse.) If you are installing a Python 2 package,
make sure to adjust the package slightly from the template: execute
`python2 setup.py` instead of `python setup.py`, and adjust the package
name accordingly. For yet more PKGBUILD examples, see some of my own. [1]
[2] For more authoritative guidelines, see [3].

— Jeremy "Ichimonji10" Audet

[1]
https://github.com/Ichimonji10/PKGBUILDs/blob/master/python-django-tables2/PKGBUILD
[2]
https://github.com/Ichimonji10/PKGBUILDs/blob/master/python2-django-tables2/PKGBUILD
[3] https://wiki.archlinux.org/index.php/Python_Package_Guidelines


More information about the aur-general mailing list