# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-amqp
_pyname=amqp
pkgver=5.1.0
pkgrel=0
pkgdesc="Low-level AMQP client for Python"
url="https://github.com/celery/py-amqp"
arch="noarch"
license="LGPL"
depends="python3 py3-vine"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="
9f4f3fd4cea6c214ff03a80a9aec7c5bff65a964ff1e77fbc937f1b6daf45f7b06be0b0873b2998afc3de22b4693a3327f0b439f70a4496060997b9f1aa73331 amqp-5.1.0.tar.gz
"