diff --git a/SPECS-EXTENDED/python-iso8601/python-iso8601.signatures.json b/SPECS-EXTENDED/python-iso8601/python-iso8601.signatures.json index aaa25549752..c9c9062881c 100644 --- a/SPECS-EXTENDED/python-iso8601/python-iso8601.signatures.json +++ b/SPECS-EXTENDED/python-iso8601/python-iso8601.signatures.json @@ -1,5 +1,5 @@ { "Signatures": { - "iso8601-0.1.12.tar.gz": "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82" + "iso8601-2.1.0.tar.gz": "6b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed1ba8df" } -} +} \ No newline at end of file diff --git a/SPECS-EXTENDED/python-iso8601/python-iso8601.spec b/SPECS-EXTENDED/python-iso8601/python-iso8601.spec index 3f70b2c90fe..6c7737a698b 100644 --- a/SPECS-EXTENDED/python-iso8601/python-iso8601.spec +++ b/SPECS-EXTENDED/python-iso8601/python-iso8601.spec @@ -6,17 +6,19 @@ This module parses the most common forms of ISO 8601 date strings \ (e.g. 2007-01-14T20:34:22+00:00) into datetime objects. Name: python-%{srcname} -Version: 0.1.12 -Release: 2%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Simple module to parse ISO 8601 dates License: MIT Vendor: Microsoft Corporation Distribution: Azure Linux URL: https://github.com/micktwomey/pyiso8601 -# source0: https://github.com/micktwomey/pyiso8601/archive/refs/tags/0.1.12.tar.gz +# source0: https://github.com/micktwomey/pyiso8601/archive/refs/tags/2.1.0.tar.gz Source0: %{pypi_source} BuildArch: noarch +BuildRequires: python3-pip +BuildRequires: poetry %description %{pkgdesc} @@ -43,16 +45,21 @@ BuildRequires: python%{python3_other_pkgversion}-setuptools %prep %autosetup -n %{srcname}-%{version} +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-x test} + %build -%py3_build -%if 0%{?with_python3_other} -%py3_other_build -%endif +%pyproject_wheel %install -%py3_install -%if 0%{?with_python3_other} -%py3_other_install +%pyproject_install +%pyproject_save_files %{srcname} + +%check +%if %{with tests} +%pytest +%else +%pyproject_check_import -e iso8601.test_iso8601 %endif %files -n python%{python3_pkgversion}-%{srcname} @@ -66,6 +73,10 @@ BuildRequires: python%{python3_other_pkgversion}-setuptools %endif %changelog +* Fri Aug 01 2025 Kevin Lockwood - 2.1.0-1 +- Upgrade to 2.1.0 +- License verified. + * Fri Oct 15 2021 Pawel Winogrodzki - 0.1.12-2 - Initial CBL-Mariner import from Fedora 32 (license: MIT). diff --git a/cgmanifest.json b/cgmanifest.json index 2bda6c20beb..3f4cab201cb 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -23143,8 +23143,8 @@ "type": "other", "other": { "name": "python-iso8601", - "version": "0.1.12", - "downloadUrl": "https://files.pythonhosted.org/packages/source/i/iso8601/iso8601-0.1.12.tar.gz" + "version": "2.1.0", + "downloadUrl": "https://files.pythonhosted.org/packages/source/i/iso8601/iso8601-2.1.0.tar.gz" } } },