# Template file for 'python3-httpcore2'
pkgname=python3-httpcore2
version=2.4.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-fancy-pypi-readme python3-uv-dynamic-versioning"
depends="python3-h11 python3-h2 python3-truststore python3-socksio python3-trio python3-anyio"
short_desc="Minimal HTTP client"
maintainer="Bnyro <bnyro@tutanota.com>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/httpcore2/"
changelog="https://raw.githubusercontent.com/pydantic/httpx2/refs/heads/main/src/httpcore2/CHANGELOG.md"
distfiles="${PYPI_SITE}/h/httpcore2/httpcore2-${version}.tar.gz"
checksum=3093a8ab8980d9f910b9cb4351df9186a0ad2350a6284a9107ac9a362a584422
# the pypi tarball doesn't contain tests
make_check=no

post_install() {
	vlicense LICENSE.md
}
