void-packages/srcpkgs/python3-curio/template

26 lines
854 B
Bash

# Template file for 'python3-curio'
pkgname=python3-curio
version=1.6
revision=1
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"
changelog="https://raw.githubusercontent.com/dabeaz/curio/master/CHANGES"
distfiles="https://github.com/dabeaz/curio/archive/${version}.tar.gz"
checksum=8bf9f1fa8b16f8f9f202c9c7d7189f3757ecc38e3823a0afa363b59acb087123
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
}