Would it be ok to use easy_install-2.7 pypump in a build function or
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.   For more authoritative guidelines, see .
— Jeremy "Ichimonji10" Audet
 https://github.com/Ichimonji10/PKGBUILDs/blob/master/python-django-tables2/P...  https://github.com/Ichimonji10/PKGBUILDs/blob/master/python2-django-tables2/...  https://wiki.archlinux.org/index.php/Python_Package_Guidelines