37 lines
971 B
Text
37 lines
971 B
Text
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-amqp
|
|
pkgver=5.1.1
|
|
pkgrel=2
|
|
pkgdesc="an AMQP implementation"
|
|
url="https://pypi.org/project/amqp/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="py3-vine python3"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
checkdepends="py3-vine py3-case py3-nose py2py3-mock"
|
|
subpackages="$pkgname-pyc"
|
|
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() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f549a85e4f04543dd8e844edb68350ca185de9259aa896af31ae5ee5dfdfe73f904d95821c403dc797c7f3ada17ce6bff4e0fd9fcdf2abc1b33a94d079f99179 amqp-5.1.1.tar.gz
|
|
"
|