# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-rabbit _pkgname=pyrabbit pkgver=1.1.0 pkgrel=2 pkgdesc="Pythonic interface to the RabbitMQ Management HTTP API" options="!check" # No testsuite in PYPI tarball url="https://github.com/bkjones/pyrabbit" arch="noarch" license="MIT" depends="python3 py3-httplib2" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-rabbit" # Backwards compatibility provides="py-rabbit=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="aa18c3ad232840da9b4978e275c05a82ea75212f3c4ee2df68075ac93295d9448a2376656953e7d1d9c9bc6a7e759eef020a8aaef98491a12959a416c31187ad pyrabbit-1.1.0.tar.gz"