diff --git a/.gitignore b/.gitignore index 1552302..bfbbb5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -/pytest-subtests-0.3.0.tar.gz -/pytest-subtests-0.3.1.tar.gz -/pytest-subtests-0.4.0.tar.gz -/pytest-subtests-0.5.0.tar.gz +SOURCES/pytest-subtests-0.12.1.tar.gz diff --git a/.python-pytest-subtests.metadata b/.python-pytest-subtests.metadata new file mode 100644 index 0000000..7c3ac25 --- /dev/null +++ b/.python-pytest-subtests.metadata @@ -0,0 +1 @@ +26887a9560b9a1e708ca012ff3bb79a79955a513 SOURCES/pytest-subtests-0.12.1.tar.gz diff --git a/python-pytest-subtests.spec b/SPECS/python-pytest-subtests.spec similarity index 64% rename from python-pytest-subtests.spec rename to SPECS/python-pytest-subtests.spec index 6d3b64d..bd730d8 100644 --- a/python-pytest-subtests.spec +++ b/SPECS/python-pytest-subtests.spec @@ -1,10 +1,11 @@ %global pypi_name pytest-subtests Name: python-%{pypi_name} -Version: 0.5.0 -Release: 5%{?dist} +Version: 0.12.1 +Release: 3%{?dist} Summary: Support for unittest subTest() and subtests fixture +# SPDX License: MIT URL: https://github.com/pytest-dev/pytest-subtests Source0: %{pypi_source} @@ -17,9 +18,8 @@ pytest-subtests unittest subTest() support and subtests fixture. Summary: %{summary} BuildRequires: python3-devel -BuildRequires: python3-pytest -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm +BuildRequires: python3dist(pytest) + %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} @@ -27,13 +27,16 @@ pytest-subtests unittest subTest() support and subtests fixture. %prep %autosetup -n %{pypi_name}-%{version} -rm -rf %{pypi_name}.egg-info + +%generate_buildrequires +%pyproject_buildrequires -r %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files pytest_subtests %check # https://github.com/pytest-dev/pytest-subtests/issues/21 @@ -41,14 +44,38 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \ pytest-%{python3_version} -v tests \ -k "not TestFixture and not TestCapture and not test_simple_terminal" -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc CHANGELOG.rst README.rst %license LICENSE -%doc README.rst -%{python3_sitelib}/__pycache__/* -%{python3_sitelib}/pytest_subtests.py -%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/ %changelog +* Sat Jan 04 2025 Arkady L. Shane - 0.12.1-3 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.12.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.12.1-2 +- Rebuilt for Python 3.13 + +* Mon Apr 08 2024 Fabian Affolter - 0.12.1 +- Update to latest upstream release (closes rhbz#2196751, closes rhbz#2203842) + +* Fri Jan 26 2024 Fedora Release Engineering - 0.10.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.10.0-2 +- Rebuilt for Python 3.12 + +* Mon Mar 27 2023 Christian Heimes - 0.10.0-1 +- Update to 0.10.0 + * Fri Jan 20 2023 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources deleted file mode 100644 index 65c9f55..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pytest-subtests-0.5.0.tar.gz) = 2ba5d653421cbfadd2949c9fceffc3b4d3ea6bcc787557591cfc1b75d2989d615a311ad708ec98e90d02dbcbc2c43c190b5de7641ab3b2ee4a06a3377ade0c95