APKBUILD 886 Bytes
Newer Older
1
# Maintainer: Drew DeVault <sir@cmpwn.com>
Leo's avatar
Leo committed
2
pkgname=py3-amqp
prspkt's avatar
prspkt committed
3
pkgver=2.6.1
4
pkgrel=0
Ariadne Conill's avatar
Ariadne Conill committed
5 6 7
pkgdesc="an AMQP implementation"
url="https://pypi.python.org/pypi/amqp/"
arch="noarch"
Leo's avatar
Leo committed
8
license="BSD-3-Clause"
prspkt's avatar
prspkt committed
9
depends="py3-vine python3"
Leo's avatar
Leo committed
10 11
makedepends="py3-setuptools"
checkdepends="py3-vine py3-case py3-nose py2py3-mock"
12 13 14
source="https://files.pythonhosted.org/packages/source/a/amqp/amqp-$pkgver.tar.gz"
options="!check" # requires a running rabbitmq sever
builddir="$srcdir"/amqp-$pkgver
15

Leo's avatar
Leo committed
16 17 18
replaces="py-amqp" # Backwards compatibility
provides="py-amqp=$pkgver-r$pkgrel" # Backwards compatibility

Ariadne Conill's avatar
Ariadne Conill committed
19 20 21 22
build() {
	python3 setup.py build
}

23 24
check() {
	python3 setup.py test
Ariadne Conill's avatar
Ariadne Conill committed
25 26
}

27
package() {
Leo's avatar
Leo committed
28
	python3 setup.py install --prefix=/usr --root="$pkgdir"
Ariadne Conill's avatar
Ariadne Conill committed
29 30
}

prspkt's avatar
prspkt committed
31
sha512sums="e2c628cfe8075a3014a9fe991ae3e6f49198db2ecd46dd48f980730da692e4d25d9f055b1ccd4743917fc38a8afa69a5902a64275f8f45ef68113c6756f3a17b  amqp-2.6.1.tar.gz"