Compare commits

1 Commits
main ... 1.1

4 changed files with 14 additions and 24 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
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> Fri Apr 21 12:27:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -65,7 +55,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 Python 3.9 to test matrix (thanks to Luciano Mammino)
* Add type hints (thanks to Brett Cannon) * Add type hints (thanks to Brett Cannon)
* Derive `ParseError` from `ValueError` (thanks to Lex Robinson) * Derive `ParseError` from `ValueError` (thanks to Lex Robinson)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 28 11:18:36 UTC 2020 - Dirk Mueller <dmueller@suse.com> Mon Sep 28 11:18:36 UTC 2020 - Dirk Mueller <dmueller@suse.com>
@@ -147,7 +137,7 @@ Fri Oct 25 12:43:53 UTC 2013 - dmueller@suse.com
- update to 0.1.8: - update to 0.1.8:
* Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C. * 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 * Correct negative timezone offsets
* Wow, it's alive! First update since 2007 * Wow, it's alive! First update since 2007
* Moved over to https://bitbucket.org/micktwomey/pyiso8601 * Moved over to https://bitbucket.org/micktwomey/pyiso8601
@@ -180,5 +170,5 @@ Mon May 31 07:24:48 UTC 2010 - toms@suse.de
- Fixed Group: Development/Libraries/Python to make it consistent - Fixed Group: Development/Libraries/Python to make it consistent
with other Python packages with other Python packages
- Added copyright notice - Added copyright notice
- Added .changes file - Added .changes file

View File

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