6 Commits
f39 ... f41

Author SHA1 Message Date
Fedora Release Engineering
663ec50648 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 15:04:40 +00:00
Python Maint
39fb5a2bcb Rebuilt for Python 3.13 2024-06-08 00:05:26 +02:00
Fabian Affolter
8f8480c769 Update to latest upstream release (closes rhbz#2196751, closes rhbz#2203842) 2024-04-08 10:05:57 +02:00
Fedora Release Engineering
efefdd9307 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 09:36:14 +00:00
Fedora Release Engineering
ff549d4659 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 06:08:07 +00:00
Karolina Surma
f4834557cd Declare the license as an SPDX expression 2023-08-09 10:13:56 +02:00
3 changed files with 29 additions and 14 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/pytest-subtests-0.4.0.tar.gz
/pytest-subtests-0.5.0.tar.gz
/pytest-subtests-0.10.0.tar.gz
/pytest-subtests-0.12.1.tar.gz

View File

@@ -1,10 +1,11 @@
%global pypi_name pytest-subtests
Name: python-%{pypi_name}
Version: 0.10.0
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,10 +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: python3-attrs
BuildRequires: python3dist(pytest)
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
@@ -28,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
@@ -42,14 +44,26 @@ 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
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.12.1-2
- Rebuilt for Python 3.13
* Mon Apr 08 2024 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.1
- Update to latest upstream release (closes rhbz#2196751, closes rhbz#2203842)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@@ -1 +1 @@
SHA512 (pytest-subtests-0.10.0.tar.gz) = 228b416b6a34386c8d6b393199f8683fdc7b015ce777a7251a472e704519065f6d2993efb110c35e090df1ac51023a1fdd3b5f85d2f7d6d6cbcb8677c459e532
SHA512 (pytest-subtests-0.12.1.tar.gz) = 5eb4ff950171f8e008b3879453b55bab1ebc82ec60ca4da839158ad6e195c03f1a5d6b6ce2ac263a3ecaa2f684955e4fcc7abf5e429de9ffd898586b758e6cd4