[arch-commits] Commit in python-amqp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Sep 24 21:24:50 UTC 2020


    Date: Thursday, September 24, 2020 @ 21:24:50
  Author: felixonmars
Revision: 711920

archrelease: copy trunk to community-testing-any

Added:
  python-amqp/repos/community-testing-any/
  python-amqp/repos/community-testing-any/PKGBUILD
    (from rev 711919, python-amqp/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-amqp/repos/community-testing-any/PKGBUILD (from rev 711919, python-amqp/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-09-24 21:24:50 UTC (rev 711920)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=python-amqp
+pkgver=5.0.1
+pkgrel=1
+pkgdesc="Low-level AMQP client for Python (fork of amqplib)"
+arch=('any')
+url="https://github.com/celery/py-amqp"
+license=('LGPL')
+depends=('python-vine')
+checkdepends=('python-case' 'python-pytest-sugar')
+source=("https://github.com/celery/py-amqp/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('d716a54c1c23b3c2678b5904fd2fefe57c5e8b805770ee8a6850795811e321890a572825eca5d97e7d2bdfcc04a5c36dbd5b9554e2ca8a26829d0434588ae07a')
+
+build() {
+  cd py-amqp-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd py-amqp-$pkgver
+  pytest
+}
+
+package() {
+  cd py-amqp-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list