diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 11:30:32 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 11:30:32 -0500 |
commit | edeb81893de47e721fd49602284f97ea2b729ea1 (patch) | |
tree | b0e7f1589babf58bedc85801c9525cf5ade5bc1c /pcr/python2-carrot | |
parent | 4c37b5e0245f85631de17e7541fab5e6d070095f (diff) | |
download | abslibre-edeb81893de47e721fd49602284f97ea2b729ea1.tar.gz abslibre-edeb81893de47e721fd49602284f97ea2b729ea1.tar.bz2 abslibre-edeb81893de47e721fd49602284f97ea2b729ea1.zip |
python2-carrot-0.10.7-1: updating version
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') |