diff options
Diffstat (limited to 'pcr/python2-carrot')
-rw-r--r-- | pcr/python2-carrot/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pcr/python2-carrot/PKGBUILD b/pcr/python2-carrot/PKGBUILD index 456586e4b..ebf4eec8b 100644 --- a/pcr/python2-carrot/PKGBUILD +++ b/pcr/python2-carrot/PKGBUILD @@ -1,21 +1,28 @@ # Contributor (Arch): Lukas Linhart <bugs@almad.net> # Contributor (Arch): Marco Elver <marco.elver AT gmail.com> +# Contributor (Arch): Jacob Melton <jmelton116@gmail.com> # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> pkgname=python2-carrot -pkgver=0.10.5 +pkgver=0.10.7 pkgrel=1 pkgdesc="AMQP Messaging Framwork for Python" arch=('any') -url='http://ask.github.com/carrot/' -license=('BSD') +url='http://pypi.python.org/pypi/carrot/0.10.7' +license=('BSD3') depends=('python2' 'python2-amqplib') makedepends=('setuptools') source=("http://pypi.python.org/packages/source/c/carrot/carrot-$pkgver.tar.gz") options=(!emptydirs) -build() { +prepare() { cd ${srcdir}/carrot-$pkgver - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \; } +package() { + cd ${srcdir}/carrot-$pkgver + python2 setup.py install --root=$pkgdir/ --optimize=1 +} + +md5sums=('530a0614de3a669314c3acd4995c54d5') |