From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] python3-pyparsing: Update to version 3.0.7 Date: Fri, 08 Apr 2022 20:49:56 +0200 Message-ID: <20220408184956.2830479-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1604764586092133037==" List-Id: --===============1604764586092133037== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from 3.0.6 to 3.0.7 - Update of rootfile - Changelog Version 3.0.7 - - Fixed bug #345, in which delimitedList changed expressions in place using expr.streamline(). Reported by Kim Gr=C3=A4sman, thanks! - Fixed bug #346, when a string of word characters was passed to WordStart or WordEnd instead of just taking the default value. Originally posted as a question by Parag on StackOverflow, good catch! - Fixed bug #350, in which White expressions could fail to match due to unintended whitespace-skipping. Reported by Fu Hanxi, thank you! - Fixed bug #355, when a QuotedString is defined with characters in its quoteChar string containing regex-significant characters such as ., *, ?, [, ], etc. - Fixed bug in ParserElement.run_tests where comments would be displayed using with_line_numbers. - Added optional "min" and "max" arguments to `delimited_list`. PR submitted by Marius, thanks! - Added new API change note in `whats_new_in_pyparsing_3_0_0`, regarding a bug fix in the `bool()` behavior of `ParseResults`. Prior to pyparsing 3.0.x, the `ParseResults` class implementation of `__bool__` would return `False` if the `ParseResults` item list was empty, even if it contained named results. In 3.0.0 and later, `ParseResults` will return `True` if either the item list is not empty *or* if the named results dict is not empty. # generate an empty ParseResults by parsing a blank string with # a ZeroOrMore result =3D Word(alphas)[...].parse_string("") print(result.as_list()) print(result.as_dict()) print(bool(result)) Prints: [] {} False # add a results name to the result result["name"] =3D "empty result" print(result.as_list()) print(result.as_dict()) print(bool(result)) Prints: [] {'name': 'empty result'} True In previous versions, the second call to `bool()` would return `False`. - Minor enhancement to Word generation of internal regular expression, to emit consecutive characters in range, such as "ab", as "ab", not "a-b". - Fixed character ranges for search terms using non-Western characters in booleansearchparser, PR submitted by tc-yu, nice work! - Additional type annotations on public methods. Signed-off-by: Adolf Belka --- config/rootfiles/packages/python3-pyparsing | 44 ++++++++++----------- lfs/python3-pyparsing | 6 +-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/config/rootfiles/packages/python3-pyparsing b/config/rootfiles/p= ackages/python3-pyparsing index 3dbfdcdaf..08099a30a 100644 --- a/config/rootfiles/packages/python3-pyparsing +++ b/config/rootfiles/packages/python3-pyparsing @@ -1,22 +1,22 @@ -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/PKG-IN= FO -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/SOURCE= S.txt -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/depend= ency_links.txt -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/not-zi= p-safe -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/requir= es.txt -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/EGG-INFO/top_le= vel.txt -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/__init= __.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/action= s.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/common= .py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/core.py -#usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/diagr= am -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/diagra= m/__init__.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/diagra= m/template.jinja2 -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/except= ions.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/helper= s.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/result= s.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/testin= g.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/unicod= e.py -usr/lib/python3.10/site-packages/pyparsing-3.0.6-py3.10.egg/pyparsing/util.py +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/PKG-IN= FO +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/SOURCE= S.txt +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/depend= ency_links.txt +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/not-zi= p-safe +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/requir= es.txt +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/top_le= vel.txt +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/__init= __.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/action= s.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/common= .py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/core.py +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagr= am +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagra= m/__init__.py +#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagr= am/template.jinja2 +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/except= ions.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/helper= s.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/result= s.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/testin= g.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/unicod= e.py +usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/util.py diff --git a/lfs/python3-pyparsing b/lfs/python3-pyparsing index 270466f44..14920ecce 100644 --- a/lfs/python3-pyparsing +++ b/lfs/python3-pyparsing @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 3.0.6 +VER =3D 3.0.7 SUMMARY =3D Grammar Parser Library for Python =20 THISAPP =3D pyparsing-$(VER) @@ -33,7 +33,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D python3-pyparsing -PAK_VER =3D 4 +PAK_VER =3D 5 =20 DEPS =3D =20 @@ -47,7 +47,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D bf79fdb20c6dbcec5a79956ed8c68e56edbadd4d71f44a35107dfb= 0652c1d2ecbc980c95e729f35f94dce5783ad8159848563dadc529d0f4b48a1ce61e12a3aa +$(DL_FILE)_BLAKE2 =3D 1f098dd2ae6ffef6f98a44137769198ebad6af1642c1bc784284be= dbcd28c617993fb51901d179962ca05f3f8699d24c04b0df5e5e5168a572c0deb506ad4e54 =20 install : $(TARGET) =20 --=20 2.35.1 --===============1604764586092133037==--