Sync from SUSE:SLFO:Main python-parse revision 132c10fa35ef6397b06587e95f2ac650
This commit is contained in:
parent
b822aaeafd
commit
7ff1705d6d
BIN
parse-1.19.0.tar.gz
(Stored with Git LFS)
BIN
parse-1.19.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
parse-1.20.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
parse-1.20.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 21:25:03 UTC 2024 - Thiago Bertoldi <thiago.bertoldi@suse.com>
|
||||
|
||||
- use modern python version on Leap15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 12:40:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.20.2:
|
||||
* allow hyphen in field name. closes #86
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 1 00:50:36 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pytest, like upstream has.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 30 18:07:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.20.1:
|
||||
* add formatter property, closes #172
|
||||
* add security policy file. closes #175.
|
||||
* Support various number of digits after the comma in the
|
||||
timestamp %f …
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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
|
||||
@ -15,17 +15,18 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-parse
|
||||
Version: 1.19.0
|
||||
Version: 1.20.2
|
||||
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 pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@ -39,18 +40,20 @@ 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
|
||||
%python_exec -m unittest discover -v
|
||||
%pytest
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user