From 025cd4898c81dc070e54b441781464ef93c5c557 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:01:20 +0100 Subject: [PATCH] New package: python3-curio-1.4 --- srcpkgs/python3-curio/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/python3-curio/template diff --git a/srcpkgs/python3-curio/template b/srcpkgs/python3-curio/template new file mode 100644 index 00000000000..9febedf497f --- /dev/null +++ b/srcpkgs/python3-curio/template @@ -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 python3-Sphinx" +short_desc="Coroutine-based library for concurrent programming using async/await" +maintainer="Arjan Mossel " +license="BSD-3-Clause" +homepage="https://github.com/dabeaz/curio" +distfiles="${PYPI_SITE}/c/curio/curio-${version}.tar.gz" +checksum=57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744 + +do_check() { + # On some arches CI builds fail, possibly due to a connectivity issue + # PYTHONPATH=$(cd build/lib* && pwd) pytest + : +} + +post_install() { + vlicense LICENSE +}