## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sum Python Task Warrior library %global forgeurl https://github.com/GothenburgBitFactory/tasklib Name: python-tasklib Version: 2.5.1 Release: %autorelease Summary: %{sum} License: MIT URL: %{forgeurl} %global tag %{version} %forgemeta Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel # Tests BuildRequires: python3-pytest BuildRequires: task >= 2.4 %description tasklib is a Python library for interacting with taskwarrior databases, using a queryset API similar to that of Django's ORM. Supports Python 3.5+, taskwarrior 2.4+. Older versions of taskwarrior are untested and may not work. %package -n python3-tasklib Summary: %{sum} Requires: task >= 2.4 %description -n python3-tasklib tasklib is a Python library for interacting with taskwarrior databases, using a queryset API similar to that of Django's ORM. Supports Python 3.5+, taskwarrior 2.4+. Older versions of taskwarrior are untested and may not work. %prep %forgesetup %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files tasklib %check %pytest tasklib/tests.py %pyproject_check_import %files -n python3-tasklib -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 2.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.5.1-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.5.1-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Ankur Sinha (Ankur Sinha Gmail) - 2.5.1-1 - feat: update to 2.5.1 (fixes rhbz#2143729) * Fri Jul 22 2022 Fedora Release Engineering - 2.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.4.3-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 28 2021 Ankur Sinha (Ankur Sinha Gmail) - 2.4.3-1 - feat: update to 2.4.3 - also modernises spec * Tue Jul 27 2021 Fedora Release Engineering - 2.3.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.3.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 2021 Ankur Sinha - 2.3.0-1 - Update to new release * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Ankur Sinha - 1.3.0-3 - Explicitly BR setuptools * Tue May 26 2020 Miro Hrončok - 1.3.0-2 - Rebuilt for Python 3.9 * Thu Apr 30 2020 Ankur Sinha - 1.3.0-1 - Update to 1.3.0 * Thu Jan 30 2020 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.2.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.2.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 27 2019 Ankur Sinha - 1.2.1-1 - Update to 1.2.1 * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 1.1.0-6 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.0-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Dec 24 2017 Ankur Sinha - 1.1.0-2 - Update requires * Sun Dec 24 2017 Ankur Sinha - 1.1.0-1 - Initial build ## END: Generated by rpmautospec