blob: ef0aa30bbd55a3c6c9bef089b3f6c007edfd21f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Contributor (Arch): Tevin Zhang <mail2tevin {at} gmail {dot} com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=python2-amqplib
pkgver=1.0.2
pkgrel=3
pkgdesc="Python client for the Advanced Message Queuing Procotol (AMQP). Uses Python2."
arch=('any')
url="http://code.google.com/p/py-amqplib/"
license=("LGPL")
depends=('python2>=2.6' 'setuptools')
source=(http://py-amqplib.googlecode.com/files/amqplib-$pkgver.tgz)
build() {
cd $srcdir/amqplib-$pkgver
# replace /usr/bin/env python with python2
find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \;
python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1
}
|