## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Enabled by default %bcond_without tests Name: python-pytest-lazy-fixture Version: 0.6.3 Release: %autorelease Summary: Use fixtures in pytest.mark.parametrize License: MIT URL: https://github.com/tvorog/pytest-lazy-fixture Source0: %{pypi_source pytest-lazy-fixture} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Use fixtures in pytest.mark.parametrize.} %description %_description %package -n python3-pytest-lazy-fixture Summary: %{summary} %description -n python3-pytest-lazy-fixture %_description %prep %autosetup -n pytest-lazy-fixture-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_lazyfixture %check %if %{with tests} %pytest %endif %files -n python3-pytest-lazy-fixture -f %{pyproject_files} # pyproject_files handles LICENSE; verify with “rpm -qL -p …” %doc README.rst %changelog * Tue May 10 2022 Benjamin A. Beasley 0.6.3-8 - Port to pyproject-rpm-macros * Tue May 10 2022 Iztok Fister Jr. - 0.6.3-6 - Remove obsolete macros * Fri Jan 21 2022 Fedora Release Engineering - 0.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.3-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Aug 20 2020 Aniket Pradhan - 0.6.3-1 - Updated to 0.6.3 - Fixes failing tests * Sat Aug 01 2020 Fedora Release Engineering - 0.5.2-10 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.5.2-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.5.2-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.5.2-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 12 2019 Ankur Sinha - 0.5.2-2 - Re-enable tests * Fri Jul 12 2019 Ankur Sinha - 0.5.2-1 - Own pycache directory to fix permission issues #1723047 * Sat Jun 22 2019 Ankur Sinha - 0.5.2-1 - Initial package