summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pyparsing: upgrade 3.1.1 -> 3.1.2Wang Mingyu2024-04-161-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Drop ${PYTHON_PN}Richard Purdie2024-02-201-8/+8
| | | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.1.0 -> 3.1.1Wang Mingyu2023-08-141-0/+30
Changelog: ============ - Fixed regression in Word(min) - Fixed bug in bad exception messages raised by Forward expressions. - Fixed regression in SkipTo, where ignored expressions were not checked when looking for the target expression. - Fixed type annotation for enable_packrat - Some general internal code cleanup. (From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>