git: 21eb1534ae10 - main - www/py-requests: Update to 2.28.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:11:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=21eb1534ae10b06c8cbbbca02f9ed8c4cadadec4

commit 21eb1534ae10b06c8cbbbca02f9ed8c4cadadec4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:35:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:00:27 +0000

    www/py-requests: Update to 2.28.2
    
    Changes:        https://github.com/psf/requests/releases
---
 www/py-requests/Makefile                       |  3 +--
 www/py-requests/distinfo                       |  6 ++---
 www/py-requests/files/patch-charset-normalizer | 37 --------------------------
 3 files changed, 4 insertions(+), 42 deletions(-)

diff --git a/www/py-requests/Makefile b/www/py-requests/Makefile
index 13d3f3bd1564..b6af73b46652 100644
--- a/www/py-requests/Makefile
+++ b/www/py-requests/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	requests
-PORTVERSION=	2.28.1
-PORTREVISION=	1
+PORTVERSION=	2.28.2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-requests/distinfo b/www/py-requests/distinfo
index ef0d45ca80a5..8ea438bfa9a2 100644
--- a/www/py-requests/distinfo
+++ b/www/py-requests/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656702532
-SHA256 (requests-2.28.1.tar.gz) = 7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983
-SIZE (requests-2.28.1.tar.gz) = 109805
+TIMESTAMP = 1674590070
+SHA256 (requests-2.28.2.tar.gz) = 98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf
+SIZE (requests-2.28.2.tar.gz) = 108206
diff --git a/www/py-requests/files/patch-charset-normalizer b/www/py-requests/files/patch-charset-normalizer
deleted file mode 100644
index 08e9a348b36d..000000000000
--- a/www/py-requests/files/patch-charset-normalizer
+++ /dev/null
@@ -1,37 +0,0 @@
-Obtained from:	https://github.com/psf/requests/commit/c57f1f0ca10e61771b459c857182c23626607312
-
---- requests/__init__.py.orig	2022-06-29 15:09:45 UTC
-+++ requests/__init__.py
-@@ -80,8 +80,8 @@ def check_compatibility(urllib3_version, chardet_versi
-     elif charset_normalizer_version:
-         major, minor, patch = charset_normalizer_version.split(".")[:3]
-         major, minor, patch = int(major), int(minor), int(patch)
--        # charset_normalizer >= 2.0.0 < 3.0.0
--        assert (2, 0, 0) <= (major, minor, patch) < (3, 0, 0)
-+        # charset_normalizer >= 2.0.0 < 4.0.0
-+        assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0)
-     else:
-         raise Exception("You need either charset_normalizer or chardet installed")
- 
---- setup.cfg.orig	2022-06-29 15:13:33 UTC
-+++ setup.cfg
-@@ -5,7 +5,7 @@ provides-extra = 
- 	use_chardet_on_py3
- requires-dist = 
- 	certifi>=2017.4.17
--	charset_normalizer>=2,<3
-+	charset_normalizer>=2,<4
- 	idna>=2.5,<4
- 	urllib3>=1.21.1,<1.27
- 
---- setup.py.orig	2022-06-29 15:09:45 UTC
-+++ setup.py
-@@ -59,7 +59,7 @@ if sys.argv[-1] == "publish":
-     sys.exit()
- 
- requires = [
--    "charset_normalizer>=2,<3",
-+    "charset_normalizer>=2,<4",
-     "idna>=2.5,<4",
-     "urllib3>=1.21.1,<1.27",
-     "certifi>=2017.4.17",