void-packages/srcpkgs/python3-httpx/template

23 lines
848 B
Bash

# Template file for 'python3-httpx'
pkgname=python3-httpx
version=0.27.2
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-fancy-pypi-readme"
depends="python3-idna python3-certifi python3-h2 python3-Brotli
python3-sniffio python3-httpcore python3-click python3-rich python3-Pygments"
short_desc="Next generation HTTP client for Python"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="BSD-3-Clause"
homepage="https://www.python-httpx.org"
changelog="https://raw.githubusercontent.com/encode/httpx/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/h/httpx/httpx-${version}.tar.gz"
checksum=f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2
# the pypi tarball doesn't contain tests
# the tests need unpackaged dependencies trustme and uvicorn
make_check=no
post_install() {
vlicense LICENSE.md LICENSE
}