python3-urllib3: update to 2.5.0.

This commit is contained in:
classabbyamp
2025-11-14 10:48:43 -05:00
committed by classabbyamp
parent 71d18bbaa8
commit ba713630f5
2 changed files with 19 additions and 15 deletions
@@ -0,0 +1,11 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
# This file is protected via CODEOWNERS
[build-system]
-requires = ["hatchling>=1.6.0,<2", "hatch-vcs>=0.4.0,<0.6.0", "setuptools-scm>=8,<9"]
+requires = ["hatchling>=1.6.0,<2", "hatch-vcs>=0.4.0,<0.6.0", "setuptools-scm>=8,<10"]
build-backend = "hatchling.build"
[project]
+8 -15
View File
@@ -1,26 +1,19 @@
# Template file for 'python3-urllib3'
pkgname=python3-urllib3
version=1.26.12
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-six"
checkdepends="python3-pytest python3-trustme python3-mock python3-pysocks
python3-tornado python3-dateutil"
version=2.5.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs python3-setuptools_scm"
depends="python3"
# checkdepends="python3-pytest python3-trustme python3-trio python3-quart"
short_desc="HTTP library with thread-safe connection pooling"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://urllib3.readthedocs.io/"
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
checksum=3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e
pre_check() {
rm test/test_retry{,_deprecated}.py # FIXME
}
checksum=3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760
make_check=no # quart_trio unpackaged
post_install() {
rm ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py
ln -sf ../../six.py ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py
vlicense LICENSE.txt
}