%global srcname cftime Name: python-%{srcname} Version: 1.6.4 Release: 3%{?dist} Summary: Time-handling functionality from netcdf4-python # calendar calculation routines in _cftime.pyx derived from calcalcs.c by David # W. Pierce with GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 # Automatically converted from old format: MIT and GPLv3 - review is highly recommended. License: LicenseRef-Callaway-MIT AND GPL-3.0-only URL: https://pypi.python.org/pypi/cftime Source0: %{pypi_source} BuildRequires: gcc %{?python_enable_dependency_generator} %description Time-handling functionality from netcdf4-python. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-setuptools # For tests BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-numpy %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} Time-handling functionality from netcdf4-python. %prep %autosetup -n %{srcname}-%{version} sed -i -e '/--cov/d' setup.cfg # Relax numpy requirement # https://github.com/Unidata/cftime/commit/c640b72781f1ac038cfa9c23f58e4a5591721275#commitcomment-138887748 sed -i -e 's/1.26.0b1/1.24.4/' requirements.txt %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.md %{python3_sitearch}/%{srcname}-*.egg-info/ %{python3_sitearch}/%{srcname}/ %changelog * Sun Dec 15 2024 Orion Poplawski - 1.6.4-3 - Rebuild against numpy 2.0 (rhbz@2332484) * Wed Sep 04 2024 Miroslav Suchý - 1.6.4-2 - convert license to SPDX * Tue Aug 13 2024 Orion Poplawski - 1.6.4-1 - Update to 1.6.4 * Fri Jul 19 2024 Fedora Release Engineering - 1.6.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1.6.3-5 - Rebuilt for Python 3.13 * Thu Feb 22 2024 Orion Poplawski - 1.6.3-4 - Relax numpy requirement * Fri Jan 26 2024 Fedora Release Engineering - 1.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Oct 20 2023 Orion Poplawski - 1.6.3-1 - Update to 1.6.3 * Fri Jul 21 2023 Fedora Release Engineering - 1.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Orion Poplawski - 1.6.2-1 - Update to 1.6.2 * Tue Jun 13 2023 Python Maint - 1.6.1-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 04 2022 Orion Poplawski - 1.6.1-1 - Update to 1.6.1 * Fri Jul 22 2022 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.6.0-2 - Rebuilt for Python 3.11 * Fri Mar 04 2022 Orion Poplawski - 1.6.0-1 - Update to 1.6.0 * Sat Jan 22 2022 Orion Poplawski - 1.5.2-1 - Update to 1.5.2 * Fri Jan 21 2022 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 27 2021 Orion Poplawski - 1.5.1-1 - Update to 1.5.1 * Fri Jul 23 2021 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.5.0-2 - Rebuilt for Python 3.10 * Sun May 30 2021 Orion Poplawski - 1.5.0-1 - Update to 1.5.0 * Tue Feb 02 2021 Orion Poplawski - 1.4.1-1 - Update to 1.4.1 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 18 2021 Orion Poplawski - 1.3.1-1 - Update to 1.3.1 * Mon Nov 16 2020 Orion Poplawski - 1.3.0-1 - Update to 1.3.0 * Thu Sep 17 2020 Orion Poplawski - 1.2.1-1 - Update to 1.2.1 * Wed Jul 29 2020 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.3-2 - Rebuilt for Python 3.9 * Thu May 14 2020 Orion Poplawski - 1.1.3-1 - Update to 1.1.3 * Fri May 08 2020 Orion Poplawski - 1.1.2-1 - Update to 1.1.2 * Thu Mar 26 2020 Orion Poplawski - 1.1.1.2-1 - Update to 1.1.1.2 * Wed Mar 18 2020 Orion Poplawski - 1.1.1-1 - Update to 1.1.1 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 23 2019 Orion Poplawski - 1.0.4.2-1 - Update to 1.0.4.2 * Mon Oct 21 2019 Orion Poplawski - 1.0.4-1 - Update to 1.0.4 * Thu Oct 03 2019 Miro Hrončok - 1.0.3.4-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Wed Sep 11 2019 Orion Poplawski - 1.0.3.4-5 - Enable python automatic dependency generator (for EPEL8) * Mon Aug 19 2019 Miro Hrončok - 1.0.3.4-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 28 2019 Orion Poplawski - 1.0.3.4-2 - Fix license * Tue Feb 26 2019 Orion Poplawski - 1.0.3.4-1 - Initial Fedora package