void-packages/srcpkgs/python3-trio/template

29 lines
1.1 KiB
Bash

# Template file for 'python3-trio'
pkgname=python3-trio
version=0.19.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 <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
checksum=895e318e5ec5e8cea9f60b473b6edb95b215e82d99556a03eb2d20c5e027efe1
# 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
}