python3-requests: update to 2.32.3, adopt.

This commit is contained in:
Gonzalo Tornaría 2024-08-03 23:47:20 -03:00 committed by Andrew J. Hesford
parent ff6fd61bc4
commit 0fd3534adc
2 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,5 @@
--- a/requests/certs.py 2017-05-29 20:09:29.000000000 +0200
+++ b/requests/certs.py 2017-06-06 13:06:31.803000513 +0200
--- a/src/requests/certs.py 2017-05-29 20:09:29.000000000 +0200
+++ b/src/requests/certs.py 2017-06-06 13:06:31.803000513 +0200
@@ -12,7 +12,8 @@
environment, you can change the definition of where() to return a separately
packaged CA bundle.

View File

@ -1,19 +1,23 @@
# Template file for 'python3-requests'
pkgname=python3-requests
version=2.31.0
revision=2
build_style=python3-module
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-mock python3-pysocks python3-pytest-xdist"
short_desc="Python3 HTTP library for human beings"
maintainer="Orphaned <orphan@voidlinux.org>"
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=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
checksum=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760
post_patch() {
vsed -i '/certifi/d' setup.py