|
|
|
@ -1,20 +1,22 @@
|
|
|
|
|
%global pypi_name pytest-timeout
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 2.1.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.4.2
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: py.test plugin to abort hanging tests
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/pytest-dev/pytest-timeout
|
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
|
|
|
|
|
|
# This patch skips 3 tests out of 38 because of missing dependency
|
|
|
|
|
# python-pexpect in RHEL 9
|
|
|
|
|
Patch1: 0001-Remove-test-only-dependency-pexpect.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: %{py3_dist pexpect}
|
|
|
|
|
BuildRequires: %{py3_dist pytest} >= 3.6.0
|
|
|
|
|
BuildRequires: %{py3_dist pytest-cov}
|
|
|
|
|
BuildRequires: %{py3_dist setuptools}
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
@ -41,7 +43,7 @@ Summary: %{summary}
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest
|
|
|
|
|
%pytest -k "not test_cov"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
@ -51,35 +53,19 @@ Summary: %{summary}
|
|
|
|
|
%{python3_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.0-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Scott Talbert <swt@techie.net> - 2.1.0-1
|
|
|
|
|
- Update to new upstream release 2.1.0 (#2042161)
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 14 2021 Scott Talbert <swt@techie.net> - 2.0.2-1
|
|
|
|
|
- Update to new upstream release 2.0.2 (#2032002)
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Scott Talbert <swt@techie.net> - 2.0.1-1
|
|
|
|
|
- Update to new upstream release 2.0.1 (#2013023)
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Scott Talbert <swt@techie.net> - 2.0.0-1
|
|
|
|
|
- Update to new upstream release 2.0.0 (#2012634)
|
|
|
|
|
* Tue Jun 15 2021 Tomas Orsava <torsava@redhat.com> - 1.4.2-6
|
|
|
|
|
- Remove test-dependency on python-pexpect
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4.2-4
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
* Tue Mar 30 2021 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-4
|
|
|
|
|
- Don't BuildRequire python3-pytest-cov
|
|
|
|
|
Resolves: rhbz#1945252
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|