# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=py3-aiostream _pyname=aiostream pkgver=0.6.2 pkgrel=0 pkgdesc="Generator-based operators for asynchronous iteration" url="https://github.com/vxgmichel/aiostream" arch="noarch" license="GPL-3.0-only" depends="python3 py3-typing-extensions" makedepends="py3-gpep517 py3-setuptools py3-wheel" checkdepends="py3-pytest py3-pytest-asyncio py3-pytest-cov" subpackages="$pkgname-pyc" source="$_pyname-$pkgver.tar.gz::https://github.com/vxgmichel/aiostream/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --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=" 572ec5281122653e2b3d3927ba6206b2c4ed975fcf64cf43aae62aed154e479902cd7ef0be274d89727cd64324dcb99389cd4cb5984a8ca646e3c43836f9f2e8 aiostream-0.6.2.tar.gz "