%global pypi_name pytest-ordering Name: python-%{pypi_name} Version: 0.6 Release: 13%{?dist} Summary: Plugin to run your pytest tests in a specific order License: MIT URL: https://github.com/ftobia/pytest-ordering Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz # Adapt tests to work with pytest 6.2+ Patch1: %{url}/pull/76.patch BuildArch: noarch %description pytest-ordering is a pytest plugin to run your tests in any order that you specify. It provides custom markers that say when your tests should run in relation to each other. They can be absolute (i.e. first, or second-to-last) or relative (i.e. run this test before this other test). %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} pytest-ordering is a pytest plugin to run your tests in any order that you specify. It provides custom markers that say when your tests should run in relation to each other. They can be absolute (i.e. first, or second-to-last) or relative (i.e. run this test before this other test). %package -n %{name}-doc Summary: The %{name} documentation BuildRequires: python3-sphinx BuildRequires: python3-sphinx-theme-alabaster %description -n %{name}-doc Documentation for %{name}. %prep %autosetup -p1 -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build PYTHONPATH=${PWD} sphinx-build-3 docs/source/ html rm -rf html/.{doctrees,buildinfo} %install %py3_install %check PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \ pytest-%{python3_version} -v tests -k "not test_run_marker_registered" %files -n python3-%{pypi_name} %doc README.md %license LICENSE %{python3_sitelib}/pytest_ordering/ %{python3_sitelib}/pytest_ordering-%{version}-py*.egg-info/ %files -n %{name}-doc %doc html %license LICENSE %changelog * Fri Jul 21 2023 Fedora Release Engineering - 0.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.6-12 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.6-3 - Rebuilt for Python 3.9 * Mon Mar 23 2020 Fabian Affolter - 0.6-2 - Add missing BR - Don't write byte code during tests (rhbz#1809537) * Tue Mar 03 2020 Fabian Affolter - 0.6-1 - Initial package for Fedora