15
0
forked from pool/python-parsy

Accepting request 1177637 from home:mschreiner:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/1177637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsy?expand=0&rev=3
This commit is contained in:
2024-05-29 20:59:34 +00:00
committed by Git OBS Bridge
parent 90ca6dacde
commit 0cfee29c52
4 changed files with 28 additions and 7 deletions

View File

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

3
parsy-2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed May 29 19:49:25 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
- 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 <jayvdb@gmail.com>

View File

@@ -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