void-packages/srcpkgs/python3-requests/template

25 lines
998 B
Bash

# Template file for 'python3-requests'
pkgname=python3-requests
version=2.32.3
revision=1
build_style=python3-pep517
# test_unicode_header_name hangs with urllib3 < 2.x
# see: https://github.com/psf/requests/issues/6734
make_check_args="
--deselect tests/test_requests.py::TestRequests::test_unicode_header_name"
hostmakedepends="python3-setuptools"
depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
checkdepends="python3-pytest $depends python3-trustme python3-pytest-httpbin
python3-pytest-mock python3-pysocks python3-pytest-xdist"
short_desc="Python3 HTTP library for human beings"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="Apache-2.0"
homepage="https://python-requests.org/"
changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md"
distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz"
checksum=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760
post_patch() {
vsed -i '/certifi/d' setup.py
}