mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-28 06:02:08 +01:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
986 B
Plaintext
32 lines
986 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-pytest-trio
|
|
pkgver=0.8.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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
79141021633b7b2d8a840d7eaf6a3447bccd59d1bd4909e7feba88a9ae8244376f281b64fde4333b5a575957e3f73028e389a9abf0d19a35417f15c47eeccd05 pytest-trio-0.8.0.tar.gz
|
|
"
|