aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pytest-trio/APKBUILD
blob: 9f9cd99636d7a795ab16dda8dcc115def1cf4e09 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pytest-trio
pkgver=0.5.2
pkgrel=0
pkgdesc="pytest plugin for trio"
url="https://github.com/python-trio/pytest-trio"
arch="noarch"
license="MIT OR Apache-2.0"
depends="python3 py3-pytest"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/pytest-trio/pytest-trio-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pytest-trio-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5  pytest-trio-0.5.2.tar.gz"