summaryrefslogtreecommitdiff
path: root/pcr/python2-kombu
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /pcr/python2-kombu
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/python2-kombu')
-rw-r--r--pcr/python2-kombu/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python2-kombu/PKGBUILD b/pcr/python2-kombu/PKGBUILD
new file mode 100644
index 000000000..ef99b0beb
--- /dev/null
+++ b/pcr/python2-kombu/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Felix Yan <felixonmars@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=python2-kombu
+pkgver=2.4.10
+pkgrel=1
+pkgdesc="AMQP Messaging Framework for Python 2.x"
+arch=('any')
+url="http://pypi.python.org/pypi/kombu/"
+license=('BSD')
+depends=('python2' 'python-anyjson')
+optdepends=(
+ "python2-librabbitmq: High performance AMQP transport written in C"
+)
+makedepends=('setuptools')
+source=("http://pypi.python.org/packages/source/k/kombu/kombu-$pkgver.tar.gz")
+options=(!emptydirs)
+
+build() {
+ cd "$srcdir"/kombu-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir"/kombu-$pkgver
+ python2 setup.py install --root="$pkgdir/"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+