void-packages/srcpkgs/python3-anyio/template

28 lines
1.1 KiB
Bash

# Template file for 'python3-anyio'
pkgname=python3-anyio
version=4.3.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 <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6
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
}