# Maintainer: psykose pkgname=py3-jaraco.test pkgver=5.3.0 pkgrel=0 pkgdesc="jaraco test module" url="https://github.com/jaraco/jaraco.test" arch="noarch" license="MIT" depends=" py3-jaraco.functools py3-jaraco.context python3 " makedepends=" py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel " checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/jaraco/jaraco.test/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/jaraco.test-$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/jaraco*.whl } sha512sums=" a2fe426aeb5e9eec58d6bd86e6db7267a353e3543e4f27c70ece30ecd2e17cae5f99bbe7d1c5e3f02a05397c7cc9c3ef4f093386d3e92f7f09ab1fda1710672c py3-jaraco.test-5.3.0.tar.gz "