commit f8096586db52a1c667cf569ed0a7356db34fe94d Author: MSVSphere Packaging Team Date: Fri Oct 25 18:49:44 2024 +0300 import python-pytest-subtests-0.10.0-6.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ea665a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pytest-subtests-0.10.0.tar.gz diff --git a/.python-pytest-subtests.metadata b/.python-pytest-subtests.metadata new file mode 100644 index 0000000..c00f7a6 --- /dev/null +++ b/.python-pytest-subtests.metadata @@ -0,0 +1 @@ +b7103bb1be5eb45a35d1290104f0b40e972565a0 SOURCES/pytest-subtests-0.10.0.tar.gz diff --git a/SPECS/python-pytest-subtests.spec b/SPECS/python-pytest-subtests.spec new file mode 100644 index 0000000..257c9c4 --- /dev/null +++ b/SPECS/python-pytest-subtests.spec @@ -0,0 +1,109 @@ +%global pypi_name pytest-subtests + +Name: python-%{pypi_name} +Version: 0.10.0 +Release: 6%{?dist} +Summary: Support for unittest subTest() and subtests fixture + +# SPDX +License: MIT +URL: https://github.com/pytest-dev/pytest-subtests +Source0: %{pypi_source} +BuildArch: noarch + +%description +pytest-subtests unittest subTest() support and subtests fixture. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-attrs +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +pytest-subtests unittest subTest() support and subtests fixture. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +# https://github.com/pytest-dev/pytest-subtests/issues/21 +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} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/pytest_subtests.py +%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/ + +%changelog +* Mon Jun 24 2024 Troy Dawson - 0.10.0-6 +- Bump release for June 2024 mass rebuild + +* 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 + +* Fri Jul 22 2022 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.5.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Aug 25 2021 Fabian Affolter - 0.5.0-1 +- Update to latest upstream release 0.5.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 0.4.0-2 +- Rebuilt for Python 3.10 + +* Sun Feb 07 2021 Christian Heimes - 0.4.0-1 +- Update to 0.4 (#1925972) + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 Fabian Affolter - 0.3.1-1 +- Update to latest upstream release 0.3.1 + +* Tue May 26 2020 Miro HronĨok - 0.3.0-2 +- Rebuilt for Python 3.9 + +* Mon Mar 23 2020 Fabian Affolter - 0.3.0-1 +- Initial package for Fedora