python-pycparser: update to version 2.23
authorJosef Schlehofer <[email protected]>
Fri, 7 Nov 2025 05:34:42 +0000 (06:34 +0100)
committerAlexandru Ardelean <[email protected]>
Tue, 25 Nov 2025 11:38:44 +0000 (13:38 +0200)
Refresh patch

Release notes:
https://github.com/eliben/pycparser/releases/tag/release_v2.22
https://github.com/eliben/pycparser/releases/tag/release_v2.23

Signed-off-by: Josef Schlehofer <[email protected]>
lang/python/python-pycparser/Makefile
lang/python/python-pycparser/patches/001-use-external-ply.patch

index 5085372dc42be757b7bee13790c498dd40740255..3844e17c017e3f7b4e40d9dcc83bbb73ef0452b2 100644 (file)
@@ -8,19 +8,23 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-pycparser
-PKG_VERSION:=2.21
-PKG_RELEASE:=2
+PKG_VERSION:=2.23
+PKG_RELEASE:=1
 
 PYPI_NAME:=pycparser
-PKG_HASH:=e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206
+PKG_HASH:=78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Jeffery To <[email protected]>
 
-PKG_BUILD_DEPENDS:=python-ply/host  # ply==3.10
+PKG_BUILD_DEPENDS:= \
+       python3/host \
+       python-setuptools/host \
+       python-ply/host  # ply==3.10
 HOST_BUILD_DEPENDS:= \
        python3/host \
+       python-setuptools/host \
        python-build/host \
        python-installer/host \
        python-wheel/host \
index b6f2eac9553b6524704602ba52492f60a740d810..0eb243f1a1b1728eb020a4c4b2b67993eddd6d80 100644 (file)
  from .c_lexer import CLexer
 --- a/setup.py
 +++ b/setup.py
-@@ -64,7 +64,7 @@ setup(
-         'Programming Language :: Python :: 3.10',
+@@ -61,7 +61,7 @@ setup(
+         'Programming Language :: Python :: 3.13',
      ],
-     python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
+     python_requires=">=3.8",
 -    packages=['pycparser', 'pycparser.ply'],
 +    packages=['pycparser'],
      package_data={'pycparser': ['*.cfg']},