summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD16
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5fbb67ce40b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Tue Mar 22 02:08:35 UTC 2016
+pkgbase = python-amqplib
+ pkgdesc = AMQP Client Library
+ pkgver = 1.0.2
+ pkgrel = 1
+ arch = any
+ license = LGPL
+ makedepends = python
+ makedepends = python-setuptools
+ source = https://github.com/barryp/py-amqplib/archive/1.0.2.tar.gz
+ md5sums = ff405a7b57aa98cdf07d02bd8090fa29
+
+pkgname = python-amqplib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac914162e1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+_pypiname=py-amqplib
+pkgname=python-amqplib
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="AMQP Client Library"
+arch=(any)
+source=("https://github.com/barryp/py-amqplib/archive/${pkgver}.tar.gz")
+license=("LGPL")
+makedepends=("python" "python-setuptools")
+md5sums=('ff405a7b57aa98cdf07d02bd8090fa29')
+
+package() {
+ cd "$_pypiname-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}