void-packages/srcpkgs/python3-httpx/template

24 lines
849 B
Bash

# Template file for 'python3-httpx'
pkgname=python3-httpx
version=0.23.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-rfc3986 python3-certifi python3-charset-normalizer
python3-sniffio python3-httpcore python3-click python3-rich python3-Pygments
python3-h2"
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=f28eac771ec9eb4866d3fb4ab65abd42d38c424739e80c08d8d20570de60b0ef
# the pypi tarball doesn't contain tests
# the tests need unpackaged dependencies trustme and uvicorn
make_check=no
post_install() {
vlicense LICENSE.md LICENSE
}