From fa8eff8871ac9f3170ad19205dab00ee9535e345 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 13 Mar 2024 15:08:24 +0800 Subject: python3-pyparsing: upgrade 3.1.1 -> 3.1.2 Changelog: =========== - Added 'ieee_float' expression to 'pyparsing.common', which parses float values, plus "NaN", "Inf", "Infinity". - Updated pep8 synonym wrappers for better type checking compatibility. - Fixed empty error message bug. This _should_ return pyparsing's exception messages to a former, more helpful form. If you have code that parses the exception messages returned by pyparsing, this may require some code changes. - Added unit tests to test for exception message contents, with enhancement to 'pyparsing.testing.assertRaisesParseException' to accept an expected exception message. - Updated example 'select_parser.py' to use PEP8 names and added Groups for better retrieval of parsed values from multiple SELECT clauses. - Added example 'email_address_parser.py' - Added example 'directx_x_file_parser.py' to parse DirectX template definitions, and generate a Pyparsing parser from a template to parse .x files. - Some code refactoring to reduce code nesting - All internal string expressions using '%' string interpolation and 'str.format()' converted to f-strings. (From OE-Core rev: dc067714b407577a7984a413d07282bea1a2fd72) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-pyparsing_3.1.1.bb | 30 ---------------------- .../python/python3-pyparsing_3.1.2.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb create mode 100644 meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb b/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb deleted file mode 100644 index 6f34091c86..0000000000 --- a/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Python parsing module" -DESCRIPTION = "The pyparsing module is an alternative approach to creating \ -and executing simple grammars, vs. the traditional lex/yacc approach, or \ -the use of regular expressions. The pyparsing module provides a library of \ -classes that client code uses to construct the grammar directly in Python \ -code." -HOMEPAGE = "https://github.com/pyparsing/pyparsing/" -BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" - -SRC_URI[sha256sum] = "ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db" - -UPSTREAM_CHECK_REGEX = "pyparsing-(?P.*)\.tar" - -inherit pypi python_flit_core - -RDEPENDS:${PN} += " \ - python3-datetime \ - python3-debugger \ - python3-html \ - python3-json \ - python3-netclient \ - python3-pprint \ - python3-stringold \ - python3-threading \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb new file mode 100644 index 0000000000..64210ade53 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb @@ -0,0 +1,30 @@ +SUMMARY = "Python parsing module" +DESCRIPTION = "The pyparsing module is an alternative approach to creating \ +and executing simple grammars, vs. the traditional lex/yacc approach, or \ +the use of regular expressions. The pyparsing module provides a library of \ +classes that client code uses to construct the grammar directly in Python \ +code." +HOMEPAGE = "https://github.com/pyparsing/pyparsing/" +BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" + +SRC_URI[sha256sum] = "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad" + +UPSTREAM_CHECK_REGEX = "pyparsing-(?P.*)\.tar" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-debugger \ + python3-html \ + python3-json \ + python3-netclient \ + python3-pprint \ + python3-stringold \ + python3-threading \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf