python3-trio: update to 0.24.0.

This commit is contained in:
Gonzalo Tornaría 2023-12-17 08:34:00 -03:00 committed by Andrew J. Hesford
parent 683029114b
commit 823053d9fc

View File

@ -1,26 +1,30 @@
# Template file for 'python3-trio'
pkgname=python3-trio
version=0.22.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-async_generator python3-attrs python3-idna
version=0.24.0
revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
hostmakedepends="python3-setuptools python3-wheel"
depends="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"
checkdepends="$depends python3-pytest iana-etc pylint python3-astroid
python3-async_generator python3-jedi python3-openssl python3-trustme"
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"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
checksum=ce68f1c5400a47b137c5a4de72c7c901bd4e7a24fbdebfe9b41de8c6c04eaacf
# 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
checksum=ffa09a74a6bf81b84f8613909fb0beaee84757450183a7a2e0b47b455c0cac5d
make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# pthread_getname_np(3) n/a in musl 1.1
make_check_args+="
--deselect src/trio/_tests/test_threads.py::test_named_thread_os
"
fi
post_install() {
vlicense LICENSE