## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 # this is BRed by pytest, so we need to run without tests when bootstrapping # also pygments-ansi-color is not available in Fedora yet %bcond_with tests Name: python-pygments-pytest Version: 2.4.0 Release: %autorelease Summary: A pygments lexer for pytest output License: MIT URL: https://github.com/asottile/pygments-pytest Source: %{url}/archive/v%{version}/pygments-pytest-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %description This library provides a pygments lexer called pytest. This library also provides a sphinx extension. %package -n python3-pygments-pytest Summary: %{summary} %description -n python3-pygments-pytest This library provides a pygments lexer called pytest. This library also provides a sphinx extension. %prep %autosetup -n pygments-pytest-%{version} %generate_buildrequires %pyproject_buildrequires %{?with_tests:-t} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pygments_pytest %if %{with tests} %check %pytest -v %endif %files -n python3-pygments-pytest -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Tue Oct 08 2024 Charalampos Stratakis - 2.4.0-1 - Update to 2.4.0 - Fixes: rhbz#2247148 * Fri Jul 19 2024 Fedora Release Engineering - 2.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.3.0-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.3.0-2 - Rebuilt for Python 3.12 * Fri Jan 27 2023 Miro Hrončok - 2.3.0-1 - Update to 2.3.0 - Fixes: rhbz#2137872 * Fri Jan 20 2023 Fedora Release Engineering - 2.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.0-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.2.0-2 - Rebuilt for Python 3.10 * Fri Mar 19 2021 Charalampos Stratakis - 2.2.0-1 - Update to 2.2.0 (#1909945) * Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 07 2020 Charalampos Stratakis - 2.1.0-1 - Update to 2.1.0 and convert to pyproject macros (rhbz#1856288) * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 02 2020 Charalampos Stratakis - 2.0.0-1 - Update to 2.0.0 (#1747425) * Sun May 24 2020 Miro Hrončok - 1.2.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.2.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sat Aug 17 2019 Miro Hrončok - 1.2.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Mar 12 2019 Miro Hrončok - 1.2.0-1 - Initial package ## END: Generated by rpmautospec