void-packages/srcpkgs/python3-anyio/template

28 lines
1.0 KiB
Bash

# Template file for 'python3-anyio'
pkgname=python3-anyio
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 <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=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
}