1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/py3-pytest-trio/APKBUILD

29 lines
985 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pytest-trio
pkgver=0.7.0
pkgrel=1
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 py3-trio py3-outcome py3-async_generator"
makedepends="py3-setuptools"
checkdepends="py3-hypothesis"
source="https://pypi.python.org/packages/source/p/pytest-trio/pytest-trio-$pkgver.tar.gz"
options="!check" # Fails with py3-pytest 6.0.x https://github.com/python-trio/pytest-trio/pull/98#issuecomment-678699693
builddir="$srcdir/pytest-trio-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="." pytest --pyargs pytest_trio
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="547036c94f33cf8e755c88d608c5fddfa5c583fdaa7e604598d470e250a006c571702a81bac4f273b74450a8c10e4be404bad74d4104403fe1c9c70e872dff53 pytest-trio-0.7.0.tar.gz"