diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template new file mode 100644 index 0000000000..68025f8902 --- /dev/null +++ b/srcpkgs/python3-trio/template @@ -0,0 +1,28 @@ +# Template file for 'python3-trio' +pkgname=python3-trio +version=0.18.0 +revision=1 +wrksrc="trio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-async_generator python3-attrs python3-idna + python3-outcome python3-sniffio python3-sortedcontainers" +checkdepends="python3-pytest python3-pytest-cov python3-ipython python3-pylint + python3-jedi black python3-mypy python3-flake8 + python3-async_generator python3-attrs + python3-idna python3-outcome python3-sniffio python3-sortedcontainers" +short_desc="Friendly Python library for async concurrency and I/O" +maintainer="Arjan Mossel " +license="Apache-2.0, MIT" +homepage="https://github.com/python-trio/trio" +distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz" +checksum=87a66ae61f27fe500c9024926a9ba482c07e1e0f56380b70a264d19c435ba076 +# Tests are disabled as they also need the following to be packaged: +# pyOpenSSL https://pypi.org/project/pyOpenSSL/ +# trustme https://pypi.org/project/trustme/ +# astor https://pypi.org/project/astor/ +make_check=no + +post_install() { + vlicense LICENSE +}