# Template file for 'python3-httpx2'
pkgname=python3-httpx2
# note: also bump httpcore2 when bumping this
version=2.4.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-fancy-pypi-readme python3-uv-dynamic-versioning"
depends="python3-idna python3-h2 python3-Brotli python3-httpcore2 python3-click
 python3-rich python3-Pygments python3-anyio python3-truststore"
short_desc="Next generation HTTP client for Python"
maintainer="Bnyro <bnyro@tutanota.com>"
license="BSD-3-Clause"
homepage="https://httpx2.pydantic.dev/"
changelog="https://github.com/pypa/hatch/releases"
distfiles="${PYPI_SITE}/h/httpx2/httpx2-${version}.tar.gz"
checksum=32e0734b61eb0824b3f56a9e98d6d92d381a3ef12c0045aa917ee63df6c411ef
# the pypi tarball doesn't contain tests
make_check=no

post_install() {
	vlicense LICENSE.md LICENSE
}
