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 <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer
2025-11-07 06:34:42 +01:00
committed by Alexandru Ardelean
parent 022f744017
commit 879cddcd0f
2 changed files with 11 additions and 7 deletions

View 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 <jeffery.to@gmail.com>
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 \

View File

@@ -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']},