git: f73e5e2ac36b - main - devel/py-packaging: Update to 21.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Nov 2021 21:19:09 UTC
The branch main has been updated by sunpoet:

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

commit f73e5e2ac36b1a619dddca8437d81905eac303a0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-21 21:15:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 21:15:19 +0000

    devel/py-packaging: Update to 21.3
    
    Changes:        https://github.com/pypa/packaging/releases
                    https://github.com/pypa/packaging/blob/main/CHANGELOG.rst
---
 devel/py-packaging/Makefile                               |  3 +--
 devel/py-packaging/distinfo                               |  6 +++---
 devel/py-packaging/files/patch-setup.py                   | 13 -------------
 devel/py-packaging/files/patch-tests-test_requirements.py | 12 ------------
 4 files changed, 4 insertions(+), 30 deletions(-)

diff --git a/devel/py-packaging/Makefile b/devel/py-packaging/Makefile
index 954cfacd093a..b6f1d30dcafc 100644
--- a/devel/py-packaging/Makefile
+++ b/devel/py-packaging/Makefile
@@ -1,8 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	packaging
-PORTVERSION=	21.2
-PORTREVISION=	1
+PORTVERSION=	21.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-packaging/distinfo b/devel/py-packaging/distinfo
index 6e89ea0fa0c7..a32e6955f8ec 100644
--- a/devel/py-packaging/distinfo
+++ b/devel/py-packaging/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635788048
-SHA256 (packaging-21.2.tar.gz) = 096d689d78ca690e4cd8a89568ba06d07ca097e3306a4381635073ca91479966
-SIZE (packaging-21.2.tar.gz) = 84403
+TIMESTAMP = 1637519884
+SHA256 (packaging-21.3.tar.gz) = dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb
+SIZE (packaging-21.3.tar.gz) = 84848
diff --git a/devel/py-packaging/files/patch-setup.py b/devel/py-packaging/files/patch-setup.py
deleted file mode 100644
index c96dd1ab8c20..000000000000
--- a/devel/py-packaging/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
-Obtained from:  https://github.com/pypa/packaging/commit/8cb9dbf19e2b76ab025efc11208bd50e09e8223e
-
---- setup.py.orig	2021-10-29 11:19:27 UTC
-+++ setup.py
-@@ -48,7 +48,7 @@ setup(
-     author=about["__author__"],
-     author_email=about["__email__"],
-     python_requires=">=3.6",
--    install_requires=["pyparsing>=2.0.2,<3"],  # Needed to avoid issue #91
-+    install_requires=["pyparsing>=2.0.2"],  # Needed to avoid issue #91
-     classifiers=[
-         "Development Status :: 5 - Production/Stable",
-         "Intended Audience :: Developers",
diff --git a/devel/py-packaging/files/patch-tests-test_requirements.py b/devel/py-packaging/files/patch-tests-test_requirements.py
deleted file mode 100644
index 689bc638086e..000000000000
--- a/devel/py-packaging/files/patch-tests-test_requirements.py
+++ /dev/null
@@ -1,12 +0,0 @@
-Obtained from:  https://github.com/pypa/packaging/commit/8cb9dbf19e2b76ab025efc11208bd50e09e8223e
-
---- tests/test_requirements.py.orig	2021-07-23 07:28:49 UTC
-+++ tests/test_requirements.py
-@@ -192,4 +192,6 @@ class TestRequirements:
-     def test_parseexception_error_msg(self):
-         with pytest.raises(InvalidRequirement) as e:
-             Requirement("toto 42")
--        assert "Expected stringEnd" in str(e.value)
-+        assert "Expected stringEnd" in str(e.value) or (
-+            "Expected string_end" in str(e.value)  # pyparsing>=3.0.0
-+        )