aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-txaio/APKBUILD
blob: 836417ba796f465f26e05268f5b345ab56671bb2 (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-txaio
pkgver=21.2.1
pkgrel=0
pkgdesc="Compatibility API between asyncio/Twisted/Trollius"
url="https://github.com/crossbario/txaio"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="
	py3-mock
	py3-pytest
	"
source="https://pypi.python.org/packages/source/t/txaio/txaio-$pkgver.tar.gz"
options="!check" # Depends on deprecated and unmaintained trollius package
builddir="$srcdir/txaio-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" pytest
}

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

sha512sums="762875b9c10304dab31dd54f7830f56b0cc26dd6e7a98c8faf57891a2810e36f53004833f872f0f51bad61cb62be033cfc228c99fd6aff60cd4dd2ae2f2e5c37  txaio-21.2.1.tar.gz"