diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
commit | f7b823f55a80b1498c30e9f3a47692a2329c4f09 (patch) | |
tree | 6de557714e6336282fbc0ab16c6578386dfc6654 /abs/core/python_modules/python-py/PKGBUILD | |
parent | 4c2a2e3504f472628285a989c7c9a76be6855f54 (diff) | |
parent | 01c1a60f3b7f93b3ed7404196c2cf798c4d8c674 (diff) | |
download | linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.zip linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.gz linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules/python-py/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python-py/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-py/PKGBUILD b/abs/core/python_modules/python-py/PKGBUILD new file mode 100644 index 0000000..d0fec8b --- /dev/null +++ b/abs/core/python_modules/python-py/PKGBUILD @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Sebastian Wiesner <lunaryorn googlemail com> +# Contributor: Igor Ramos Tiburcio <irtigor@yahoo.com.br> +# Contributor: Wieland Hoffmann <themineo+aur@gmail.com> +# Contributor: Hervé Cauwelier <herve ¤ oursours.net> +# Contributor: Felix Kaiser <felix.kaiser@fxkr.net> + +pkgbase=python-py +pkgname=('python2-py') +pkgver=1.4.20 +pkgrel=3 +pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities" +arch=('any') +license=('MIT') +url="http://pylib.readthedocs.org/en/latest/" +makedepends=('python2-setuptools') +checkdepends=('python2-pytest') +source=("http://pypi.python.org/packages/source/p/py/py-$pkgver.tar.gz") + +prepare() { + cp -r py-${pkgver}{,-py2} +} + +build() { +# cd "$srcdir/py-${pkgver}" +# python setup.py build + + cd "$srcdir/py-${pkgver}-py2" + python2 setup.py build +} + +check() { +# cd "$srcdir/py-${pkgver}" +# LANG=en_US.utf8 py.test + + cd "$srcdir/py-${pkgver}-py2" + LANG=en_US.utf8 py.test2 +} + +#package_python-py() { +# depends=('python') + +# cd py-${pkgver} +# python setup.py install --root="${pkgdir}" --optimize=1 +# install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +#} + +package_python2-py() { + depends=('python2') + + cd py-${pkgver}-py2 + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +sha512sums=('db392bd8d52ac2bf7b4785e18aaf58564596f66f15d355ee6f6e4169f6da7847331096ac7118c758ee5ce3f1865502a45f92ca2c99f411c12ee316760ca2b212') |