mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-pytest-xprocess
|
|
pkgver=0.22.2
|
|
pkgrel=1
|
|
pkgdesc="pytest external process plugin"
|
|
url="https://github.com/pytest-dev/pytest-xprocess"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-psutil py3-pytest py3-py"
|
|
makedepends="py3-gpep517 py3-setuptools_scm py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xprocess/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/pytest-xprocess-$pkgver"
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
sha512sums="
|
|
db3312175d0e94a28c0539eb11d0997eda8e044f2b1ed5cda145c0c936df06bd64f7b414eeefa8d801dd913d83b2227de4f1114fa9d29c89582d507593292408 py3-pytest-xprocess-0.22.2.tar.gz
|
|
"
|