python3-anyio: update to 4.2.0.

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

View file

@ -1,18 +1,26 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
version=3.6.2
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
version=4.2.0
revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
checkdepends="$depends python3-pytest-mock python3-hypothesis
python3-psutil python3-trio python3-trustme python3-uvloop"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
maintainer="dkwo <npiazza@disroot.org>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
checksum=25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421
# Tests not supported
make_check=no
checksum=e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# getaddrinfo() always returns canonname in musl 1.1
make_check_args+=" --deselect tests/test_sockets.py::test_getaddrinfo_ipv6addr"
fi
post_install() {
vlicense LICENSE