diff --git a/parsy-1.3.0.tar.gz b/parsy-1.3.0.tar.gz deleted file mode 100644 index deaba55..0000000 --- a/parsy-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfc941ea5a69e6ac16bd4f7d9f807bbc17e35edd8b95bcd2499a25b059359012 -size 41288 diff --git a/parsy-2.1.tar.gz b/parsy-2.1.tar.gz new file mode 100644 index 0000000..d842439 --- /dev/null +++ b/parsy-2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd5dd18d7b0b61f8275ee88665f430a20c02cf5a82d88557f35330530186d7ac +size 45252 diff --git a/python-parsy.changes b/python-parsy.changes index 7cbf66c..624d7e4 100644 --- a/python-parsy.changes +++ b/python-parsy.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed May 29 19:49:25 UTC 2024 - Martin Schreiner + +- Update to 2.1: + * Dropped support for Python 3.7. + * Test against Python 3.11. + * Added docstrings and basic type hints to all primitives and main + methods. +- Changes from 2.0: + * Dropped support for Python < 3.6. + * Added Parser.until(). + * Parser.optional() now supports an optional default argument to be + returned instead None. +- Changes from 1.4: + * Documentation improvements. + * Added group parameter to regex(). + * Support bytes with regex() as well as str. + * Added forward_declaration. +- Apply spec-cleaner. + ------------------------------------------------------------------- Sat Jan 23 06:12:24 AM UTC 2021 - John Vandenberg diff --git a/python-parsy.spec b/python-parsy.spec index e645f83..1028995 100644 --- a/python-parsy.spec +++ b/python-parsy.spec @@ -1,7 +1,7 @@ # # spec file for package python-parsy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parsy -Version: 1.3.0 +Version: 2.1 Release: 0 Summary: Python parser combinators License: MIT @@ -35,7 +35,7 @@ Easy-to-use parser combinators, for parsing in pure Python. %prep %setup -q -n parsy-%{version} -touch test/__init__.py +touch tests/__init__.py %build %python_build @@ -50,6 +50,7 @@ touch test/__init__.py %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/parsy +%{python_sitelib}/parsy-%{version}*-info %changelog