Sync from SUSE:SLFO:Main python-iso8601 revision 6eccbdeb35e7cd16a46bf0da50694057

This commit is contained in:
2024-12-13 11:36:11 +01:00
parent 608e9a2b11
commit 6ccdfda2f3
4 changed files with 24 additions and 14 deletions

BIN
iso8601-1.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
iso8601-2.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Mar 24 08:51:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.1.0:
* Use ruff for linting
- update to 2.0.0:
* Add Python 3.12 support
* Fix test_fixedoffset_eq by adding an actual assertion
* Drop Python 3.6 support (3.6 is end of life)
-------------------------------------------------------------------
Fri Apr 21 12:27:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -55,7 +65,7 @@ Thu Feb 18 21:45:15 UTC 2021 - Dirk Müller <dmueller@suse.com>
* Add Python 3.9 to test matrix (thanks to Luciano Mammino)
* Add type hints (thanks to Brett Cannon)
* Derive `ParseError` from `ValueError` (thanks to Lex Robinson)
-------------------------------------------------------------------
Mon Sep 28 11:18:36 UTC 2020 - Dirk Mueller <dmueller@suse.com>
@@ -137,7 +147,7 @@ Fri Oct 25 12:43:53 UTC 2013 - dmueller@suse.com
- update to 0.1.8:
* Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C.
* Fix parsing of microseconds
* Fix parsing of microseconds
* Correct negative timezone offsets
* Wow, it's alive! First update since 2007
* Moved over to https://bitbucket.org/micktwomey/pyiso8601
@@ -170,5 +180,5 @@ Mon May 31 07:24:48 UTC 2010 - toms@suse.de
- Fixed Group: Development/Libraries/Python to make it consistent
with other Python packages
- Added copyright notice
- Added .changes file
- Added .changes file

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-iso8601
#
# Copyright (c) 2023 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,11 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-iso8601
Version: 1.1.0
Version: 2.1.0
Release: 0
Summary: Python module to parse ISO 8601 dates
License: MIT
@@ -28,9 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/micktwomey/pyiso8601
Source: https://files.pythonhosted.org/packages/source/i/iso8601/iso8601-%{version}.tar.gz
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest >= 2.4.2}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,10 +44,10 @@ This module parses the most common forms of ISO 8601 date strings (e.g.
%setup -q -n iso8601-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +57,6 @@ This module parses the most common forms of ISO 8601 date strings (e.g.
%license LICENSE
%doc README.rst
%{python_sitelib}/iso8601
%{python_sitelib}/iso8601-%{version}*-info
%{python_sitelib}/iso8601-%{version}.dist-info
%changelog