summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Zwierzchowski2021-06-29 21:07:56 +0200
committerSebastian Zwierzchowski2021-06-29 21:07:56 +0200
commit5cc60607063c742e822fbf655d3904e47b2906d0 (patch)
tree93f9099ab1884b58f475bb2cc2b567cb5cf5b1c3
downloadaur-5cc60607063c742e822fbf655d3904e47b2906d0.tar.gz
wto, 29 cze 2021, 21:07:56 CEST
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2b30212e3fd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-amqpstorm
+ pkgdesc = Thread-safe Python RabbitMQ Client & Management library.
+ pkgver = 2.9.0
+ pkgrel = 1
+ url = https://www.amqpstorm.io/
+ arch = any
+ license = MIT License)
+ makedepends = python-setuptools
+ depends = python
+ source = https://github.com/eandersson/amqpstorm/archive/refs/tags/2.9.0.zip
+ md5sums = 9a74245095abefe11d540455aa980087
+
+pkgname = python-amqpstorm
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1794823146b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer:
+
+_pkgbase=amqpstorm
+pkgname=python-$(echo "$_pkgbase" | tr '[:upper:]' '[:lower:]')
+pkgver=2.9.0
+pkgrel=1
+pkgdesc="Thread-safe Python RabbitMQ Client & Management library."
+arch=('any')
+url="https://www.amqpstorm.io/"
+license=('MIT License)')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/eandersson/amqpstorm/archive/refs/tags/${pkgver}.zip")
+
+build() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+}
+sha256sums=('f627c2785855940a744fcaee0328126fd471c4e2e2ce89e5ee9f27d0014744d6')