# Contributor: Bart Ribbers # Maintainer: pkgname=py3-delegator pkgver=0.1.1 pkgrel=6 pkgdesc="Subprocesses for Humans 2.0" url="https://github.com/amitt001/delegator.py" arch="noarch" license="MIT" depends="py3-pexpect" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/amitt001/delegator.py/archive/refs/tags/v$pkgver.tar.gz" options="!check" # No tests included in release tarballs builddir="$srcdir/delegator.py-$pkgver" build() { 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=" fbf9690d877f3a3d8514ebac209c4eccba81dbed6fef5beb9e838db9b16ed988667bc98991d8c0f4691697c0b69a7d0e3e85e15a622f65a82e153401ffe352b1 py3-delegator-0.1.1.tar.gz "