From ea28d619632904b52df59aef38c297dbed0efa05555599e129955fa1c2159feb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 13 Jan 2024 20:41:12 +0000 Subject: [PATCH] - 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 --- parse-1.19.0.tar.gz | 3 --- parse-1.20.0.tar.gz | 3 +++ python-parse.changes | 17 +++++++++++++++-- python-parse.spec | 14 +++++++++----- 4 files changed, 27 insertions(+), 10 deletions(-) delete mode 100644 parse-1.19.0.tar.gz create mode 100644 parse-1.20.0.tar.gz diff --git a/parse-1.19.0.tar.gz b/parse-1.19.0.tar.gz deleted file mode 100644 index 60a4554..0000000 --- a/parse-1.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b -size 30884 diff --git a/parse-1.20.0.tar.gz b/parse-1.20.0.tar.gz new file mode 100644 index 0000000..2ea9290 --- /dev/null +++ b/parse-1.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd28bae37714b45d5894d77160a16e2be36b64a3b618c81168b3684676aa498b +size 28871 diff --git a/python-parse.changes b/python-parse.changes index 0468a18..a177233 100644 --- a/python-parse.changes +++ b/python-parse.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Jan 13 20:40:54 UTC 2024 - Dirk Müller + +- 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 @@ -9,7 +22,7 @@ Wed Aug 25 09:34:44 UTC 2021 - John Paul Adrian Glaubitz - update to 1.15.0 * Several bugs with parsing hex, bin and oct numbers. * Handle fortran formatted float number, Bug fix & test case. - * Handle comparison of FixedTzOffset with other types of object + * Handle comparison of FixedTzOffset with other types of object ------------------------------------------------------------------- Wed Sep 11 08:31:39 UTC 2019 - Tomáš Chvátal diff --git a/python-parse.spec b/python-parse.spec index 6dd4845..177d049 100644 --- a/python-parse.spec +++ b/python-parse.spec @@ -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