- update to 1.20.0:

* Optimize _expand_named_fields
  * Add functionality to parse datetimes according C standard
    format codes.
- update to 1.19.1:
  * Add support for sign specifiers in number formats.
  * Fix handling of unused alignment
  * modern packaging
  * universal wheel
  * Add test for stateful int_convert
  * Handle comparison of FixedTzOffset with other types of object

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2024-01-13 20:41:12 +00:00 committed by Git OBS Bridge
parent 9132af075c
commit ea28d61963
4 changed files with 27 additions and 10 deletions

BIN
parse-1.19.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
parse-1.20.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jan 13 20:40:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.20.0:
* Optimize _expand_named_fields
* Add functionality to parse datetimes according C standard
format codes.
- update to 1.19.1:
* Add support for sign specifiers in number formats.
* Fix handling of unused alignment
* modern packaging
* universal wheel
-------------------------------------------------------------------
Wed Aug 25 09:34:44 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-parse
#
# 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,14 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parse
Version: 1.19.0
Version: 1.20.0
Release: 0
Summary: Python module for parsing strings using a "format" syntax
License: MIT
Group: Development/Languages/Python
URL: https://github.com/r1chardj0n3s/parse
Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -39,10 +41,10 @@ Parse strings using a specification based on the Python format() syntax.
chmod a-x README.rst
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -51,6 +53,8 @@ chmod a-x README.rst
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/parse.py
%pycache_only %{python_sitelib}/__pycache__/parse.*
%{python_sitelib}/parse-%{version}.dist-info
%changelog