1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/py3-aiostream/APKBUILD
Galen Abell d0f69114d3 testing/py3-aiostream: new aport
https://github.com/vxgmichel/aiostream
Generator-based operators for asynchronous iteration
testing/
2023-03-01 06:27:34 +00:00

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
"