aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-txaio/APKBUILD
blob: e0ffcf021b47866d999050fcc8e4531112ad2c5a (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=20.12.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="efde6115b8eccba94dce736fffe49f280ff49e9738f3299578cf41641c3b6f1deb5b1c0f0c8c6fbf85c8d8adbdc2d3f67aa256335d63a5977ac0bfacc98f909c  txaio-20.12.1.tar.gz"