%{?python_enable_dependency_generator} %global pkgname jinja2-time Name: python-jinja2-time Version: 0.2.0 Release: 27%{?dist} Summary: Jinja2 Extension for Dates and Times License: MIT URL: https://github.com/hackebrot/jinja2-time Source0: https://github.com/hackebrot/%{pkgname}/archive/%{version}.tar.gz # Comaptibility on newer arrow modules, from upstream MR: https://github.com/hackebrot/jinja2-time/pull/19 Patch0: arrow-compat.patch BuildArch: noarch %description Jinja2 Extension for Dates and Times %package -n python3-%{pkgname} Summary: %{summary} %{?python_provide:%python_provide python3-%{pkgname}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-arrow BuildRequires: python3-jinja2 # Required for tests BuildRequires: python3dist(pytest) BuildRequires: python3dist(freezegun) %description -n python3-%{pkgname} Jinja2 Extension for Dates and Times. %prep %autosetup -p 1 -n %{pkgname}-%{version} %build %{py3_build} %install %{py3_install} %check %pytest tests %files -n python3-%{pkgname} %license LICENSE %doc *.rst %{python3_sitelib}/* %changelog * Tue Oct 22 2024 Federico Pellegrin - 0.2.0-27 - Fix compatibility with new versions of Arrow - Run tests directly with pytest (#2319387) * Fri Jul 19 2024 Fedora Release Engineering - 0.2.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.2.0-25 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 27 2023 Python Maint - 0.2.0-21 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 20 2022 Python Maint - 0.2.0-18 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.2.0-16 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.0-15 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.0-12 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2.0-10 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2.0-9 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 11 2019 Igor Gnatenko - 0.2.0-6 - Enable python dependency generator * Wed Jan 09 2019 Miro Hrončok - 0.2.0-5 - Subpackage python2-jinja2-time has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.0-3 - Rebuilt for Python 3.7 * Tue Apr 3 2018 Brett Lentz - 0.2.0-2 - fix deps * Wed Mar 7 2018 Brett Lentz - 0.2.0-1 - initial packaging