Blame SPECS/python-pytest-rerunfailures.spec

340e67
%global srcname pytest-rerunfailures
340e67
340e67
Name:           python-%{srcname}
340e67
Version:        9.1.1
317804
Release:        5%{?dist}
340e67
Summary:        A py.test plugin that re-runs failed tests to eliminate flakey failures
340e67
340e67
License:        MPLv2.0
340e67
URL:            https://github.com/pytest-dev/%{srcname}
340e67
Source0:        https://github.com/pytest-dev/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
340e67
340e67
BuildArch:      noarch
340e67
340e67
%description
340e67
pytest-rerunfailures is a plugin for py.test that re-runs tests to eliminate
340e67
intermittent failures.
340e67
340e67
340e67
%package -n python%{python3_pkgversion}-%{srcname}
340e67
Summary:        %{summary}
340e67
BuildRequires:  python%{python3_pkgversion}-devel
340e67
BuildRequires:  python%{python3_pkgversion}-pytest >= 5.0
340e67
BuildRequires:  python%{python3_pkgversion}-setuptools >= 40.0
340e67
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
340e67
340e67
%if %{undefined __pythondist_requires}
340e67
Requires:       python%{python3_pkgversion}-pytest >= 5.0
340e67
Requires:       python%{python3_pkgversion}-setuptools >= 40.0
340e67
%endif
340e67
340e67
%description -n python%{python3_pkgversion}-%{srcname}
340e67
pytest-rerunfailures is a plugin for py.test that re-runs tests to eliminate
340e67
intermittent failures.
340e67
340e67
340e67
%prep
340e67
%autosetup -n %{srcname}-%{version}
340e67
340e67
340e67
%build
340e67
%py3_build
340e67
340e67
340e67
%install
340e67
%py3_install
340e67
340e67
340e67
%check
340e67
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} test_pytest_rerunfailures.py
340e67
340e67
340e67
%files -n python%{python3_pkgversion}-%{srcname}
340e67
%license LICENSE
340e67
%doc CHANGES.rst README.rst
340e67
%{python3_sitelib}/pytest_rerunfailures.py
340e67
%{python3_sitelib}/__pycache__/pytest_rerunfailures.cpython-*
340e67
%{python3_sitelib}/pytest_rerunfailures-%{version}-py%{python3_version}.egg-info/
340e67
340e67
340e67
%changelog
317804
* Mon Sep 20 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 9.1.1-5
317804
- Rebuild with git+lookaside
317804
340e67
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.1.1-4
340e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
340e67
340e67
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 9.1.1-3
340e67
- Rebuilt for Python 3.10
340e67
340e67
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.1.1-2
340e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
340e67
340e67
* Wed Sep 30 2020 Scott K Logan <logans@cottsay.net> - 9.1.1-1
340e67
- Update to 9.1.1 (rhbz#1872994)
340e67
340e67
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-2
340e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
340e67
340e67
* Fri May 29 2020 Scott K Logan <logans@cottsay.net> - 9.0-1
340e67
- Update to 9.0 (rhbz#1773599)
340e67
340e67
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 8.0-2
340e67
- Rebuilt for Python 3.9
340e67
340e67
* Wed Apr 15 2020 Scott K Logan <logans@cottsay.net> - 8.0-1
340e67
- Update to 8.0
340e67
340e67
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-5
340e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
340e67
340e67
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0-4
340e67
- Rebuilt for Python 3.8.0rc1 (#1748018)
340e67
340e67
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0-3
340e67
- Rebuilt for Python 3.8
340e67
340e67
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-2
340e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
340e67
340e67
* Wed Jul 17 2019 Scott K Logan <logans@cottsay.net> - 7.0-1
340e67
- Update to 7.0 (rhbz#1693860)
340e67
340e67
* Tue Feb 12 2019 Scott K Logan <logans@cottsay.net> - 6.0-1
340e67
- Initial package