mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
33 lines
905 B
Text
33 lines
905 B
Text
# Maintainer: Noel Kuntze <noel.kuntze@contauro.com>
|
|
pkgname=py3-aioitertools
|
|
pkgdesc="Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables"
|
|
pkgver=0.12.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
url="https://github.com/omnilib/aioitertools"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel py3-flit-core"
|
|
subpackages="$pkgname-pyc"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/omnilib/aioitertools/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/aioitertools-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python -m unittest -v aioitertools.tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
1dccd9fe7aabb182b17029f5fd99cf4a60ae55c35a4c45875b33182c0e0f9c04a0c255bedefa41ca9e033dffde636e10223aeb3464c7167bf5dc7e447ff2466d py3-aioitertools-0.12.0.tar.gz
|
|
"
|