# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-amqp
_pyname=amqp
pkgver=5.0.2
pkgrel=1
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="f2cb4d6c0975c39867cd6f777f2e29ea22afdb6c6c092f4767c5629fd255093e233da5673356aac74b53916d05539c40f558f6e35b1837901e546796dfd1f67b amqp-5.0.2.tar.gz"