|
|
45913ed |
%global pypi_name pytest-subtests
|
|
|
45913ed |
|
|
|
45913ed |
Name: python-%{pypi_name}
|
|
|
0d49f45 |
Version: 0.10.0
|
|
|
3ab46ec |
Release: 2%{?dist}
|
|
|
45913ed |
Summary: Support for unittest subTest() and subtests fixture
|
|
|
45913ed |
|
|
|
45913ed |
License: MIT
|
|
|
45913ed |
URL: https://github.com/pytest-dev/pytest-subtests
|
|
|
45913ed |
Source0: %{pypi_source}
|
|
|
45913ed |
BuildArch: noarch
|
|
|
45913ed |
|
|
|
45913ed |
%description
|
|
|
45913ed |
pytest-subtests unittest subTest() support and subtests fixture.
|
|
|
45913ed |
|
|
|
45913ed |
%package -n python3-%{pypi_name}
|
|
|
45913ed |
Summary: %{summary}
|
|
|
45913ed |
|
|
|
45913ed |
BuildRequires: python3-devel
|
|
|
45913ed |
BuildRequires: python3-pytest
|
|
|
45913ed |
BuildRequires: python3-setuptools
|
|
|
45913ed |
BuildRequires: python3-setuptools_scm
|
|
|
45913ed |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
45913ed |
|
|
|
45913ed |
%description -n python3-%{pypi_name}
|
|
|
45913ed |
pytest-subtests unittest subTest() support and subtests fixture.
|
|
|
45913ed |
|
|
|
45913ed |
%prep
|
|
|
45913ed |
%autosetup -n %{pypi_name}-%{version}
|
|
|
45913ed |
rm -rf %{pypi_name}.egg-info
|
|
|
45913ed |
|
|
|
45913ed |
%build
|
|
|
45913ed |
%py3_build
|
|
|
45913ed |
|
|
|
45913ed |
%install
|
|
|
45913ed |
%py3_install
|
|
|
45913ed |
|
|
|
45913ed |
%check
|
|
|
45913ed |
# https://github.com/pytest-dev/pytest-subtests/issues/21
|
|
|
45913ed |
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|
|
45913ed |
pytest-%{python3_version} -v tests \
|
|
|
45913ed |
-k "not TestFixture and not TestCapture and not test_simple_terminal"
|
|
|
45913ed |
|
|
|
45913ed |
%files -n python3-%{pypi_name}
|
|
|
45913ed |
%license LICENSE
|
|
|
45913ed |
%doc README.rst
|
|
|
45913ed |
%{python3_sitelib}/__pycache__/*
|
|
|
45913ed |
%{python3_sitelib}/pytest_subtests.py
|
|
|
45913ed |
%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/
|
|
|
45913ed |
|
|
|
45913ed |
%changelog
|
|
|
3ab46ec |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.10.0-2
|
|
|
3ab46ec |
- Rebuilt for Python 3.12
|
|
|
3ab46ec |
|
|
|
0d49f45 |
* Mon Mar 27 2023 Christian Heimes <cheimes@redhat.com> - 0.10.0-1
|
|
|
0d49f45 |
- Update to 0.10.0
|
|
|
0d49f45 |
|
|
|
0611b2b |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
|
|
|
0611b2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
0611b2b |
|
|
|
af3ebe9 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
|
|
|
af3ebe9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
af3ebe9 |
|
|
|
d69ddc8 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.0-3
|
|
|
d69ddc8 |
- Rebuilt for Python 3.11
|
|
|
d69ddc8 |
|
|
|
420b0f9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
420b0f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
420b0f9 |
|
|
|
407a867 |
* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
|
|
|
407a867 |
- Update to latest upstream release 0.5.0
|
|
|
407a867 |
|
|
|
ff4d22e |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
|
|
|
ff4d22e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ff4d22e |
|
|
|
ea86b3a |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.4.0-2
|
|
|
ea86b3a |
- Rebuilt for Python 3.10
|
|
|
ea86b3a |
|
|
|
d2de876 |
* Sun Feb 07 2021 Christian Heimes <cheimes@redhat.com> - 0.4.0-1
|
|
|
d2de876 |
- Update to 0.4 (#1925972)
|
|
|
d2de876 |
|
|
|
7d7696b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
|
|
7d7696b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7d7696b |
|
|
|
fdcee2a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
fdcee2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fdcee2a |
|
|
|
b5dde39 |
* Tue Jul 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-1
|
|
|
b5dde39 |
- Update to latest upstream release 0.3.1
|
|
|
b5dde39 |
|
|
|
cd88ec1 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.3.0-2
|
|
|
cd88ec1 |
- Rebuilt for Python 3.9
|
|
|
cd88ec1 |
|
|
|
45913ed |
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1
|
|
|
45913ed |
- Initial package for Fedora
|