From 56329f0787ea72d3aa7d9782a78a7c9d5bfa2bcd Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 20:02:17 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-pytest-timeout#688fe801d590b487dc11f829803527879c13b76f --- .gitignore | 10 +++ python-pytest-timeout.spec | 138 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 149 insertions(+) create mode 100644 python-pytest-timeout.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cdaafd5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,10 @@ +/pytest-timeout-1.0.0.tar.gz +/pytest-timeout-1.2.0.tar.gz +/pytest-timeout-1.2.1.tar.gz +/pytest-timeout-1.3.0.tar.gz +/pytest-timeout-1.3.1.tar.gz +/pytest-timeout-1.3.2.tar.gz +/pytest-timeout-1.3.3.tar.gz +/pytest-timeout-1.3.4.tar.gz +/pytest-timeout-1.4.1.tar.gz +/pytest-timeout-1.4.2.tar.gz diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec new file mode 100644 index 0000000..ac0e2d7 --- /dev/null +++ b/python-pytest-timeout.spec @@ -0,0 +1,138 @@ +%global pypi_name pytest-timeout + +Name: python-%{pypi_name} +Version: 1.4.2 +Release: 2%{?dist} +Summary: py.test plugin to abort hanging tests + +License: MIT +URL: https://github.com/pytest-dev/pytest-timeout +Source0: %{pypi_source} + +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: +This is a plugin which will terminate tests after a certain timeout. When doing +so it will show a stack dump of all threads running at the time. This is useful +when running tests under a continuous integration server or simply if you don’t +know why the test suite hangs.} + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%pytest + + +%files -n python3-%{pypi_name} +%doc README.rst +%license LICENSE +%{python3_sitelib}/pytest_timeout* +%{python3_sitelib}/__pycache__/pytest_timeout* + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 15 2020 Scott Talbert - 1.4.2-1 +- Update to new upstream release 1.4.2 (#1857421) + +* Fri Jun 26 2020 Scott Talbert - 1.4.1-2 +- Add missing BR for setuptools + +* Tue Jun 16 2020 Scott Talbert - 1.4.1-1 +- Update to new upstream release 1.4.1 (#1846923) +- Modernize packaging + +* Sat May 23 2020 Miro Hrončok - 1.3.4-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Scott Talbert - 1.3.4-1 +- Update to new upstream release (#1788278) + +* Thu Oct 03 2019 Miro Hrončok - 1.3.3-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Sat Aug 17 2019 Miro Hrončok - 1.3.3-6 +- Rebuilt for Python 3.8 + +* Thu Aug 08 2019 Scott Talbert - 1.3.3-5 +- Remove Python 2 subpackages (#1737398) + +* Fri Jul 26 2019 Fedora Release Engineering - 1.3.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Apr 04 2019 Miro Hrončok - 1.3.3-3 +- Add upstream patch for pytest 4 compatibility + +* Sat Feb 02 2019 Fedora Release Engineering - 1.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jan 25 2019 Scott Talbert - 1.3.3-1 +- New upstream release 1.3.3 + +* Tue Oct 23 2018 Scott Talbert - 1.3.2-1 +- New upstream release 1.3.2 + +* Fri Sep 14 2018 Scott Talbert - 1.3.1-2 +- Disable writing bytecode when running tests to avoid packaging pycache files + +* Tue Jul 24 2018 Scott Talbert - 1.3.1-1 +- New upstream release 1.3.1 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Scott Talbert - 1.3.0-1 +- New upstream release 1.3.0 + +* Mon Jun 18 2018 Miro Hrončok - 1.2.1-2 +- Rebuilt for Python 3.7 + +* Wed Jun 13 2018 Scott Talbert - 1.2.1-1 +- New upstream release 1.2.1 (fixes FTBFS #1590256) + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jul 28 2017 Scott Talbert - 1.2.0-3 +- Updated to use versioned dependency name + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 10 2017 Scott Talbert - 1.2.0-1 +- New upstream release 1.2.0 +- Enable tests + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Dec 13 2016 Stratakis Charalampos - 1.0.0-2 +- Rebuild for Python 3.6 + +* Thu Aug 11 2016 Scott Talbert - 1.0.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..a35049e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pytest-timeout-1.4.2.tar.gz) = 3446ecdb5aaad5fbca12df4e7f4f40c6c1a12895d3ed9f3a3ee24800ce36deed3cb8c09a4cc72220c962b06f821cfd55bf7eebbca23664c56abf2d0e5bc8fbea