git: e2a91cf71ed8 - main - devel/py-pycparser: Update to 3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 19:29:35 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e2a91cf71ed88b34a9631d0c66257549742b7a45
commit e2a91cf71ed88b34a9631d0c66257549742b7a45
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:42 +0000
devel/py-pycparser: Update to 3.0
Changes: https://github.com/eliben/pycparser/releases
---
devel/py-pycparser/Makefile | 4 ++--
devel/py-pycparser/distinfo | 6 +++---
devel/py-pycparser/files/patch-pyproject.toml | 19 +++++++++++++++++++
3 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/devel/py-pycparser/Makefile b/devel/py-pycparser/Makefile
index 706012900896..89cc69c77447 100644
--- a/devel/py-pycparser/Makefile
+++ b/devel/py-pycparser/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pycparser
-PORTVERSION= 2.23
+PORTVERSION= 3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ WWW= https://github.com/eliben/pycparser
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
diff --git a/devel/py-pycparser/distinfo b/devel/py-pycparser/distinfo
index d195bf966996..480a19c5a47b 100644
--- a/devel/py-pycparser/distinfo
+++ b/devel/py-pycparser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759324142
-SHA256 (pycparser-2.23.tar.gz) = 78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2
-SIZE (pycparser-2.23.tar.gz) = 173734
+TIMESTAMP = 1790435782
+SHA256 (pycparser-3.0.tar.gz) = 600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29
+SIZE (pycparser-3.0.tar.gz) = 103492
diff --git a/devel/py-pycparser/files/patch-pyproject.toml b/devel/py-pycparser/files/patch-pyproject.toml
new file mode 100644
index 000000000000..db30658a0f7e
--- /dev/null
+++ b/devel/py-pycparser/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig 2026-01-21 14:20:40 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=69", "wheel"]
++requires = ["setuptools>=61", "wheel"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -7,8 +7,7 @@ readme = "README.rst"
+ version = "3.00"
+ description = "C parser in Python"
+ readme = "README.rst"
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE"]
++license = { text = "BSD-3-Clause" }
+ requires-python = ">=3.10"
+ authors = [{name = "Eli Bendersky", email = "eliben@gmail.com"}]
+ maintainers = [{name = "Eli Bendersky", email = "eliben@gmail.com"}]