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,25 +1,24 @@ # Created by: Po-Chuan Hsieh PORTNAME= packaging -PORTVERSION= 21.2 -PORTREVISION= 1 +PORTVERSION= 21.3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Core utilities for Python packages LICENSE= APACHE20 BSD2CLAUSE LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.2:devel/py-pyparsing@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include 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 -+ )