aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pika/APKBUILD
blob: 921fce82fd5e08f304456ef45eff10398dda4b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pika
_pkgname=pika
pkgver=1.1.0
pkgrel=1
pkgdesc="Python3 AMQP client library"
options="!check" # failures=1
url="https://pika.readthedocs.org"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-tornado py3-twisted"
makedepends="py3-setuptools"
checkdepends="
	py3-coverage
	py3-codecov
	py3-mock
	py3-nose
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/pika/pika/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-pika" # Backwards compatibility
provides="py-pika=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	nosetests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="35d001f9e16ed3d2a68e2328596a158e1f6a145dcedf6502e9cd17158baa80dcef53e4c1e95b90e2e24b0c132a0a8c3dd19deb293ba1884980016439c1b2495c  py3-pika-1.1.0.tar.gz"