Convert to python_setuptools_build_meta to fix

  WARNING: python3-pycparser-3.0-r0 do_check_backend: QA Issue:
  inherits setuptools3 but has pyproject.toml with setuptools.build_meta,
  use the correct class [pep517-backend]

What's Changed [1]

- Removed dependency on PLY, by rewriting pycparser to use a hand-written lexer
  and recursive-descent parser for C. No API changes / functionality changes
  intended - the same AST is produced.
- Add support for Python 3.14 and drop EOL 3.8 by @hugovk in #581
- Update _ast_gen.py to be in sync with c_ast.py by @simonlindholm in #582

[1] https://github.com/eliben/pycparser/releases/tag/release_v3.00

Signed-off-by: Hongxu Jia <[email protected]>
---
 .../{python3-pycparser_2.23.bb => python3-pycparser_3.0.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-pycparser_2.23.bb => 
python3-pycparser_3.0.bb} (74%)

diff --git a/meta/recipes-devtools/python/python3-pycparser_2.23.bb 
b/meta/recipes-devtools/python/python3-pycparser_3.0.bb
similarity index 74%
rename from meta/recipes-devtools/python/python3-pycparser_2.23.bb
rename to meta/recipes-devtools/python/python3-pycparser_3.0.bb
index a33a6553b4..c17be9b2d4 100644
--- a/meta/recipes-devtools/python/python3-pycparser_2.23.bb
+++ b/meta/recipes-devtools/python/python3-pycparser_3.0.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/eliben/pycparser";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9761c3ffee7ba99c60dca0408fd3262b"
 
-SRC_URI[sha256sum] = 
"78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2"
+SRC_URI[sha256sum] = 
"600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232250): 
https://lists.openembedded.org/g/openembedded-core/message/232250
Mute This Topic: https://lists.openembedded.org/mt/118109852/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to