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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:27:55 UTC 2020


    Date: Monday, November 9, 2020 @ 18:27:55
  Author: foutrelis
Revision: 747986

archrelease: copy trunk to community-staging-any

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

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

Copied: python-amqp/repos/community-staging-any/PKGBUILD (from rev 747985, python-amqp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:27:55 UTC (rev 747986)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=python-amqp
+pkgver=5.0.2
+pkgrel=2
+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=('0297e73abcd496cadcdf65b2da52e76792b4c0d36fe9d59f8c8cf3ed17e2370c6fbbce486a0a33296bf865e2c22b621bc708864a91b06a3e68460e96d724ce18')
+
+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