python3-httpx: add missing dependencies

This commit is contained in:
Michal Vasilek 2021-10-22 11:23:58 +02:00 committed by Andrew Benson
parent f39c191c57
commit c68d2a1d32

View file

@ -1,19 +1,23 @@
# Template file for 'python3-httpx'
pkgname=python3-httpx
version=0.20.0
revision=1
revision=2
wrksrc="httpx-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
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=09606d630f070d07f9ff28104fbcea429ea0014c1e89ac90b4d8de8286c40e7b
make_check=no # no tests included
# the pypi tarball doesn't contain tests
# the tests need unpackaged dependencies trustme and uvicorn
make_check=no
post_install() {
vlicense LICENSE.md LICENSE