[arch-commits] Commit in python-amqp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu May 30 16:57:35 UTC 2019
Date: Thursday, May 30, 2019 @ 16:57:35
Author: felixonmars
Revision: 474864
archrelease: copy trunk to community-testing-any
Added:
python-amqp/repos/community-testing-any/
python-amqp/repos/community-testing-any/PKGBUILD
(from rev 474862, python-amqp/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-amqp/repos/community-testing-any/PKGBUILD (from rev 474862, python-amqp/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2019-05-30 16:57:35 UTC (rev 474864)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgbase=python-amqp
+pkgname=('python-amqp' 'python2-amqp')
+pkgver=2.5.0
+pkgrel=1
+pkgdesc="Low-level AMQP client for Python (fork of amqplib)"
+arch=('any')
+url="https://github.com/celery/py-amqp"
+license=('LGPL')
+makedepends=('python-vine' 'python2-vine')
+checkdepends=('python-case' 'python2-case' 'python-pytest-sugar' 'python2-pytest-sugar')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/$pkgver.tar.gz")
+sha512sums=('2f85a8e653e67e937b630eb2c37ea1ba6ed6f4fbbb2d9ff51c46430583c8565253c0041c242b4a91e31bdda597256fefc03de071476d9796ca6a619abd058c53')
+
+build() {
+ cd py-amqp-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd py-amqp-$pkgver
+ pytest
+ pytest2
+}
+
+package_python-amqp() {
+ depends=('python-vine')
+
+ cd py-amqp-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-amqp() {
+ depends=('python2-vine')
+
+ cd py-amqp-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list