From 49439004201713a9ffed5e1f14475e02c8046746 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 28 Dec 2024 15:01:13 +0300 Subject: [PATCH] import python-pytest-timeout-2.3.1-4.el10 --- .gitignore | 15 +--- .python-pytest-timeout.metadata | 1 + .../python-pytest-timeout.spec | 68 ++++++++++++++----- sources | 1 - 4 files changed, 53 insertions(+), 32 deletions(-) create mode 100644 .python-pytest-timeout.metadata rename python-pytest-timeout.spec => SPECS/python-pytest-timeout.spec (74%) delete mode 100644 sources diff --git a/.gitignore b/.gitignore index b5ef552..80dfff5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1 @@ -/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 -/pytest-timeout-2.0.0.tar.gz -/pytest-timeout-2.0.1.tar.gz -/pytest-timeout-2.0.2.tar.gz -/pytest-timeout-2.1.0.tar.gz +SOURCES/pytest-timeout-2.3.1.tar.gz diff --git a/.python-pytest-timeout.metadata b/.python-pytest-timeout.metadata new file mode 100644 index 0000000..f8cc43d --- /dev/null +++ b/.python-pytest-timeout.metadata @@ -0,0 +1 @@ +3fa77c0a13730ed63d73322c364f3ee73e0ba505 SOURCES/pytest-timeout-2.3.1.tar.gz diff --git a/python-pytest-timeout.spec b/SPECS/python-pytest-timeout.spec similarity index 74% rename from python-pytest-timeout.spec rename to SPECS/python-pytest-timeout.spec index a49e4d1..459fdc4 100644 --- a/python-pytest-timeout.spec +++ b/SPECS/python-pytest-timeout.spec @@ -1,10 +1,11 @@ %global pypi_name pytest-timeout -Name: python-%{pypi_name} -Version: 2.1.0 +Name: python-pytest-timeout +Version: 2.3.1 Release: 4%{?dist} Summary: py.test plugin to abort hanging tests +# SPDX License: MIT URL: https://github.com/pytest-dev/pytest-timeout Source0: %{pypi_source} @@ -12,10 +13,6 @@ 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 @@ -25,32 +22,69 @@ know why the test suite hangs.} %description %_description -%package -n python3-%{pypi_name} +%package -n python3-pytest-timeout Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} -%description -n python3-%{pypi_name} %_description +%description -n python3-pytest-timeout %_description %prep -%autosetup -p1 -n %{pypi_name}-%{version} +%autosetup -p1 -n pytest-timeout-%{version} +# python-ipdb FTBFS currently +sed -i -e '/\s*ipdb$/d' tox.ini + +%generate_buildrequires +%pyproject_buildrequires -t %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files -l pytest_timeout %check -%pytest +%tox -%files -n python3-%{pypi_name} +%files -n python3-pytest-timeout -f %{pyproject_files} %doc README.rst -%license LICENSE -%{python3_sitelib}/pytest_timeout* -%{python3_sitelib}/__pycache__/pytest_timeout* %changelog +* Sat Dec 28 2024 Arkady L. Shane - 2.3.1-4 +- Rebuilt for MSVSphere 10 + +* Tue Aug 06 2024 Scott Talbert - 2.3.1-4 +- Update License tag to use SPDX identifiers +- Modernize Python packaging + +* Fri Jul 19 2024 Fedora Release Engineering - 2.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 2.3.1-2 +- Rebuilt for Python 3.13 + +* Fri Mar 08 2024 Scott Talbert - 2.3.1-1 +- Update to new upstream release 2.3.1 (#2268509) + +* Fri Jan 26 2024 Fedora Release Engineering - 2.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 2.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Oct 09 2023 Scott Talbert - 2.2.0-1 +- Update to new upstream release 2.2.0 (#2242718) +- Modernize Python packaging + +* Tue Aug 08 2023 Karolina Surma - 2.1.0-7 +- Declare license as an SPDX expression + +* Fri Jul 21 2023 Fedora Release Engineering - 2.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 2.1.0-5 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources deleted file mode 100644 index a89bfa9..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pytest-timeout-2.1.0.tar.gz) = 5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3