%global pypi_name pytest-expect Name: python-%{pypi_name} Version: 1.1.0 Release: 13%{?dist} Summary: py.test plugin to store test expectations and mark tests based on them License: MIT URL: https://github.com/gsnedders/pytest-expect Source0: %pypi_source Source1: %{url}/raw/%{version}/LICENSE BuildArch: noarch BuildRequires: python3-devel %description A py.test plugin that stores test expectations by saving the set of failing tests, allowing them to be marked as xfail when running them in future. The tests expectations are stored such that they can be distributed alongside the tests. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} A py.test plugin that stores test expectations by saving the set of failing tests, allowing them to be marked as xfail when running them in future. The tests expectations are stored such that they can be distributed alongside the tests. %prep %autosetup -n %{pypi_name}-%{version} cp -p %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_expect %check %py3_check_import pytest_expect %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %changelog * Fri Feb 04 2022 Steve Traylen - 1.1.0-13 - Migrate to pyproject macros - Load module during check phase * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 1.1.0-10 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 1.1.0-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 16 2019 Miro Hrončok - 1.1.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Aug 20 2018 Miro Hrončok - 1.1.0-1 - Initial package