34 lines
888 B
Text
34 lines
888 B
Text
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||
|
pkgname=py3-amqp
|
||
|
pkgver=5.1.1
|
||
|
pkgrel=0
|
||
|
pkgdesc="an AMQP implementation"
|
||
|
url="https://pypi.python.org/pypi/amqp/"
|
||
|
arch="noarch"
|
||
|
license="BSD-3-Clause"
|
||
|
depends="py3-vine python3"
|
||
|
makedepends="py3-setuptools"
|
||
|
checkdepends="py3-vine py3-case py3-nose py2py3-mock"
|
||
|
source="https://files.pythonhosted.org/packages/source/a/amqp/amqp-$pkgver.tar.gz"
|
||
|
options="!check" # requires a running rabbitmq sever
|
||
|
builddir="$srcdir"/amqp-$pkgver
|
||
|
|
||
|
replaces="py-amqp" # Backwards compatibility
|
||
|
provides="py-amqp=$pkgver-r$pkgrel" # Backwards compatibility
|
||
|
|
||
|
build() {
|
||
|
python3 setup.py build
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
python3 setup.py test
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
f549a85e4f04543dd8e844edb68350ca185de9259aa896af31ae5ee5dfdfe73f904d95821c403dc797c7f3ada17ce6bff4e0fd9fcdf2abc1b33a94d079f99179 amqp-5.1.1.tar.gz
|
||
|
"
|