mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
832 B
Text
33 lines
832 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-curio
|
|
pkgver=1.6
|
|
pkgrel=0
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
480824a50055d170cc01e2ab28dc1b276df9ab8dfbd50f3c70fe6e3fe2a745b636a4717f7886463a1ed38d6fc357098239e1718e00c8f983369b72f4e5d20f17 curio-1.6.tar.gz
|
|
"
|