From e3ffa3fde60a2bc9a7e618519993c51f5954a91b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:37:56 -0300 Subject: [PATCH] python3-anyio: update to 4.2.0. --- srcpkgs/python3-anyio/template | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template index f7cd7628cc0..5a8bd2e49af 100644 --- a/srcpkgs/python3-anyio/template +++ b/srcpkgs/python3-anyio/template @@ -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 " +maintainer="dkwo " 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