New package: python3-curio-1.4

This commit is contained in:
Arjan Mossel 2021-01-28 01:01:20 +01:00 committed by Érico Nogueira Rolim
parent 89db8836bb
commit 1c034ff93f

View file

@ -0,0 +1,25 @@
# Template file for 'python3-curio'
pkgname=python3-curio
version=1.4
revision=1
wrksrc="curio-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Coroutine-based library for concurrent programming using async/await"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/dabeaz/curio"
distfiles="${PYPI_SITE}/c/curio/curio-${version}.tar.gz"
checksum=57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744
do_check() {
# CI container has different privileges than expected in test_errors()
# which leads to CI builds timing out on some arches.
PYTHONPATH=$(cd build/lib* && pwd) pytest -k 'not test_errors'
}
post_install() {
vlicense LICENSE
}