# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=py3-aiostream _pyname=aiostream pkgver=0.4.5 pkgrel=1 pkgdesc="Generator-based operators for asynchronous iteration" url="https://github.com/vxgmichel/aiostream" arch="noarch" license="GPL-3.0-only" depends="python3" makedepends="py3-setuptools" 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() { python3 setup.py build } check() { PYTHONPATH="$PWD" pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" ac1a67a6d27e18e290c5ae5b069de2e7f7205120bc747885261e23155019d5630c1f7b643df3a4fef12844d52cdfc0f1fcdcf5cb35a0061000d426c62dcffb1d aiostream-0.4.5.tar.gz "