forked from pool/python-parsy
Accepting request 1177642 from devel:languages:python
- Clean up the SPEC file.
- 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/1177642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsy?expand=0&rev=2
This commit is contained in:
@@ -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
3
parsy-2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd5dd18d7b0b61f8275ee88665f430a20c02cf5a82d88557f35330530186d7ac
|
||||
size 45252
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 21:02:29 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -16,15 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!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
|
||||
URL: https://github.com/python-parsy/parsy
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parsy/parsy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -35,13 +36,13 @@ 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
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -50,6 +51,7 @@ touch test/__init__.py
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/parsy
|
||||
%{python_sitelib}/parsy-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user