From 879cddcd0f200435c779018321dc69df4222e9c9 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Fri, 7 Nov 2025 06:34:42 +0100 Subject: [PATCH] python-pycparser: update to version 2.23 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 --- lang/python/python-pycparser/Makefile | 12 ++++++++---- .../patches/001-use-external-ply.patch | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lang/python/python-pycparser/Makefile b/lang/python/python-pycparser/Makefile index 5085372dc4..3844e17c01 100644 --- a/lang/python/python-pycparser/Makefile +++ b/lang/python/python-pycparser/Makefile @@ -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 -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 \ diff --git a/lang/python/python-pycparser/patches/001-use-external-ply.patch b/lang/python/python-pycparser/patches/001-use-external-ply.patch index b6f2eac955..0eb243f1a1 100644 --- a/lang/python/python-pycparser/patches/001-use-external-ply.patch +++ b/lang/python/python-pycparser/patches/001-use-external-ply.patch @@ -24,10 +24,10 @@ 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']}, -- 2.30.2