mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
31 lines
831 B
Text
31 lines
831 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-curio
|
|
pkgver=1.5
|
|
pkgrel=1
|
|
pkgdesc="Curio is a coroutine-based library for concurrent systems programming"
|
|
url="https://github.com/dabeaz/curio"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-sphinx
|
|
"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.python.org/packages/source/c/curio/curio-$pkgver.tar.gz"
|
|
builddir="$srcdir/curio-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest -m "not internet"
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b curio-1.5.tar.gz"
|