git: 032e309e7465 - main - net/py-urllib3: Update to 1.26.20

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:55:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=032e309e7465e96583883e72a562ed91c04ab966

commit 032e309e7465e96583883e72a562ed91c04ab966
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:33:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:17 +0000

    net/py-urllib3: Update to 1.26.20
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/urllib3/urllib3/releases
---
 net/py-urllib3/Makefile              |  6 ++++--
 net/py-urllib3/distinfo              |  6 +++---
 net/py-urllib3/files/patch-setup.cfg | 13 +++----------
 3 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile
index 7640cbbdda4c..a7a81cfa8900 100644
--- a/net/py-urllib3/Makefile
+++ b/net/py-urllib3/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	urllib3
-PORTVERSION=	1.26.19
+PORTVERSION=	1.26.20
 PORTEPOCH=	1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI \
@@ -13,6 +13,8 @@ WWW=		https://github.com/urllib3/urllib3
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} \
@@ -22,7 +24,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR}
 
 USES=		cpe python
-USE_PYTHON=	autoplist concurrent cryptography_test distutils pytest
+USE_PYTHON=	autoplist concurrent cryptography_test pep517 pytest
 
 CPE_VENDOR=	python
 
diff --git a/net/py-urllib3/distinfo b/net/py-urllib3/distinfo
index a465608539d9..5db8b2278da2 100644
--- a/net/py-urllib3/distinfo
+++ b/net/py-urllib3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718690552
-SHA256 (urllib3-1.26.19.tar.gz) = 3e3d753a8618b86d7de333b4223005f68720bcd6a7d2bcb9fbd2229ec7c1e429
-SIZE (urllib3-1.26.19.tar.gz) = 306068
+TIMESTAMP = 1725560881
+SHA256 (urllib3-1.26.20.tar.gz) = 40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32
+SIZE (urllib3-1.26.20.tar.gz) = 307380
diff --git a/net/py-urllib3/files/patch-setup.cfg b/net/py-urllib3/files/patch-setup.cfg
index 1fc3780800e4..8e92a5d7e5b8 100644
--- a/net/py-urllib3/files/patch-setup.cfg
+++ b/net/py-urllib3/files/patch-setup.cfg
@@ -1,18 +1,11 @@
---- setup.cfg.orig	2023-05-23 10:51:13 UTC
+--- setup.cfg.orig	2024-08-29 15:36:43 UTC
 +++ setup.cfg
-@@ -7,12 +7,12 @@ max-line-length = 99
+@@ -7,7 +7,7 @@ universal = 1
  universal = 1
  
  [metadata]
 -license_file = LICENSE.txt
--provides-extra = 
 +license_files = LICENSE.txt
-+provides_extra = 
+ provides_extra = 
  	secure
  	socks
- 	brotli
--requires-dist = 
-+requires_dist = 
- 	pyOpenSSL>=0.14; extra == 'secure'
- 	cryptography>=1.3.4; extra == 'secure'
- 	idna>=2.0.0; extra == 'secure'