From fff4c18343988c9c99ee7b764a8246e8cb5d3169 Mon Sep 17 00:00:00 2001 From: triallax Date: Mon, 1 May 2023 18:44:08 +0300 Subject: [PATCH] python3-urllib3: update to 2.0.1. --- srcpkgs/python3-urllib3/template | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-urllib3/template b/srcpkgs/python3-urllib3/template index 9d35f08c6136..14b018eee9c0 100644 --- a/srcpkgs/python3-urllib3/template +++ b/srcpkgs/python3-urllib3/template @@ -1,26 +1,21 @@ # Template file for 'python3-urllib3' pkgname=python3-urllib3 -version=1.26.12 +version=2.0.1 revision=1 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-six" -checkdepends="python3-pytest python3-trustme python3-mock python3-pysocks - python3-tornado python3-dateutil" +build_style=python3-pep517 +hostmakedepends="python3-setuptools hatchling" +depends="python3" +checkdepends="python3-pytest python3-freezegun python3-pytest-timeout + python3-trustme python3-mock python3-pysocks python3-tornado python3-dateutil + python3-cryptography" short_desc="HTTP library with thread-safe connection pooling" maintainer="Orphaned " license="MIT" homepage="https://urllib3.readthedocs.io/" +changelog="https://raw.githubusercontent.com/urllib3/urllib3/main/CHANGES.rst" distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz" -checksum=3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e - -pre_check() { - rm test/test_retry{,_deprecated}.py # FIXME -} +checksum=2ce66a68134be469f5df5d46d724237489b3cd85b2bba2223dbbee1746548826 post_install() { - rm ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py - ln -sf ../../six.py ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py - vlicense LICENSE.txt }