diff --git a/pyparsing-3.0.6.tar.gz b/pyparsing-3.0.6.tar.gz deleted file mode 100644 index 9fd67e0..0000000 --- a/pyparsing-3.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9bdec0013ef1eb5a84ab39a3b3868911598afa494f5faa038647101504e2b81 -size 882365 diff --git a/pyparsing-3.0.7.tar.gz b/pyparsing-3.0.7.tar.gz new file mode 100644 index 0000000..2ef8b4c --- /dev/null +++ b/pyparsing-3.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea +size 884709 diff --git a/python-pyparsing.changes b/python-pyparsing.changes index 50d46f5..efc85c8 100644 --- a/python-pyparsing.changes +++ b/python-pyparsing.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Thu Feb 3 21:16:53 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + +- update to version 3.0.7: + * Fixed bug #345, in which delimitedList changed expressions in + place using expr.streamline(). Reported by Kim Gräsman, 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. + * 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. + ------------------------------------------------------------------- Wed Nov 24 15:23:15 UTC 2021 - Matthias Fehring diff --git a/python-pyparsing.spec b/python-pyparsing.spec index f60441c..9a72fe9 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ %endif %define skip_python2 1 Name: python-pyparsing%{psuffix} -Version: 3.0.6 +Version: 3.0.7 Release: 0 Summary: Grammar Parser Library for Python License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later @@ -39,6 +39,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pypar BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros +# work around boo#1186870 +Provides: %{mypython}%{python_version}dist(pyparsing) = %{version} BuildArch: noarch %if %{with test} BuildRequires: %{python_module jinja2} @@ -49,8 +51,6 @@ BuildRequires: %{python_module railroad-diagrams} Provides: %{mypython}-parsing = %{version} Obsoletes: %{mypython}-parsing < %{version} %endif -# work around boo#1186870 -Provides: %{mypython}%{python_version}dist(pyparsing) = %{version} %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: %{mypython}3dist(pyparsing) = %{version} %endif