Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 13:09:19 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f7d506f87661 - main - devel/py-packaging: Update to 23.0
Message-ID:  <202301301309.30UD9Jto057602@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit f7d506f87661444c77f8c7d235d490734e6e6b18
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:31:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:54 +0000

    devel/py-packaging: Update to 23.0
    
    Changes:        https://github.com/pypa/packaging/releases
---
 devel/py-packaging/Makefile       |  9 +++++----
 devel/py-packaging/distinfo       |  6 +++---
 devel/py-packaging/files/setup.py | 25 +++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/devel/py-packaging/Makefile b/devel/py-packaging/Makefile
index fedce4b29536..21bad43c1186 100644
--- a/devel/py-packaging/Makefile
+++ b/devel/py-packaging/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	packaging
-PORTVERSION=	21.3
+PORTVERSION=	23.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +13,12 @@ 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+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/devel/py-packaging/distinfo b/devel/py-packaging/distinfo
index a32e6955f8ec..ac98cabc7ae4 100644
--- a/devel/py-packaging/distinfo
+++ b/devel/py-packaging/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637519884
-SHA256 (packaging-21.3.tar.gz) = dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb
-SIZE (packaging-21.3.tar.gz) = 84848
+TIMESTAMP = 1674589844
+SHA256 (packaging-23.0.tar.gz) = b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97
+SIZE (packaging-23.0.tar.gz) = 126241
diff --git a/devel/py-packaging/files/setup.py b/devel/py-packaging/files/setup.py
new file mode 100644
index 000000000000..b88c05816f09
--- /dev/null
+++ b/devel/py-packaging/files/setup.py
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['packaging']
+
+package_data = \
+{'': ['*']}
+
+package_dir = \
+{'': 'src'}
+
+setup(name='packaging',
+      version='%%PORTVERSION%%',
+      description='Core utilities for Python packages',
+      author=None,
+      author_email='Donald Stufft <donald@stufft.io>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      package_dir=package_dir,
+      python_requires='>=3.7',
+     )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301301309.30UD9Jto057602>