Accepting request 1096296 from home:mcalabkova:branches:devel:languages:python

- update to 3.1.0
  * API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""`
  * Added new class property `identifier` to all Unicode set classes in 
    `pyparsing.unicode`, using the class's values for `cls.identchars` 
    and `cls.identbodychars`.
  * ParseResults` now has a new method `deepcopy()`, in addition to the 
    current `copy()` method.
  * Reworked `delimited_list` function into the new `DelimitedList` class.
  * Added new class method `ParserElement.using_each`
  * Added new builtin `python_quoted_string`, which will match any form
    of single-line or multiline quoted strings defined in Python.
  * `ParserElement.validate()` is deprecated.
  * Added bool `embed` argument to `ParserElement.create_diagram()`.
  * Added support for Python 3.12.
  * Updated `create_diagram()` code to be compatible with 
    railroad-diagrams package version 3.0.
  * Many other changes, see upstream CHANGES

OBS-URL: https://build.opensuse.org/request/show/1096296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=95
This commit is contained in:
Dirk Mueller 2023-07-03 07:16:42 +00:00 committed by Git OBS Bridge
parent 7ba259b5e9
commit e3ed91f7a9
4 changed files with 25 additions and 4 deletions

BIN
pyparsing-3.0.9.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pyparsing-3.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edb662d6fe322d6e990b1594b5feaeadf806803359e3d4d42f11e295e588f0ea
size 882565

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Jul 1 13:52:01 UTC 2023 - Markéta Machová <mmachova@suse.com>
- update to 3.1.0
* API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""`
* Added new class property `identifier` to all Unicode set classes in
`pyparsing.unicode`, using the class's values for `cls.identchars`
and `cls.identbodychars`.
* ParseResults` now has a new method `deepcopy()`, in addition to the
current `copy()` method.
* Reworked `delimited_list` function into the new `DelimitedList` class.
* Added new class method `ParserElement.using_each`
* Added new builtin `python_quoted_string`, which will match any form
of single-line or multiline quoted strings defined in Python.
* `ParserElement.validate()` is deprecated.
* Added bool `embed` argument to `ParserElement.create_diagram()`.
* Added support for Python 3.12.
* Updated `create_diagram()` code to be compatible with
railroad-diagrams package version 3.0.
* Many other changes, see upstream CHANGES
-------------------------------------------------------------------
Fri Apr 21 12:31:03 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -56,7 +56,7 @@ ExclusiveArch: do-not-build
%endif
%{?sle15_python_module_pythons}
Name: %{pprefix}-pyparsing%{?psuffix}
Version: 3.0.9
Version: 3.1.0
Release: 0
Summary: Grammar Parser Library for Python
License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later