mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
https://github.com/vxgmichel/aiostream Generator-based operators for asynchronous iteration testing/
30 lines
872 B
Text
30 lines
872 B
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-aiostream
|
|
_pyname=aiostream
|
|
pkgver=0.4.5
|
|
pkgrel=0
|
|
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"
|
|
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
|
|
"
|