2 Commits
f40 ... epel8

Author SHA1 Message Date
Fabian Affolter
6d90d1642f Merge branch 'master' into epel8 2020-03-24 20:44:19 +01:00
Gwyn Ciesla
9c3e696874 "Adding package.cfg file" 2020-03-23 11:18:04 -05:00
4 changed files with 15 additions and 72 deletions

5
.gitignore vendored
View File

@@ -1,6 +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
/pytest-subtests-0.10.0.tar.gz
/pytest-subtests-0.12.1.tar.gz

2
package.cfg Normal file
View File

@@ -0,0 +1,2 @@
[koji]
targets = epel8 epel8-playground

View File

@@ -1,11 +1,10 @@
%global pypi_name pytest-subtests
Name: python-%{pypi_name}
Version: 0.12.1
Version: 0.3.0
Release: 1%{?dist}
Summary: Support for unittest subTest() and subtests fixture
# SPDX
License: MIT
URL: https://github.com/pytest-dev/pytest-subtests
Source0: %{pypi_source}
@@ -18,8 +17,9 @@ pytest-subtests unittest subTest() support and subtests fixture.
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3dist(pytest)
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
@@ -27,16 +27,13 @@ pytest-subtests unittest subTest() support and subtests fixture.
%prep
%autosetup -n %{pypi_name}-%{version}
%generate_buildrequires
%pyproject_buildrequires -r
rm -rf %{pypi_name}.egg-info
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files pytest_subtests
%py3_install
%check
# https://github.com/pytest-dev/pytest-subtests/issues/21
@@ -44,64 +41,13 @@ 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} -f %{pyproject_files}
%doc CHANGELOG.rst README.rst
%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 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
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.10.0-2
- Rebuilt for Python 3.12
* Mon Mar 27 2023 Christian Heimes <cheimes@redhat.com> - 0.10.0-1
- Update to 0.10.0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.0-3
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
- Update to latest upstream release 0.5.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.4.0-2
- Rebuilt for Python 3.10
* Sun Feb 07 2021 Christian Heimes <cheimes@redhat.com> - 0.4.0-1
- Update to 0.4 (#1925972)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-1
- Update to latest upstream release 0.3.1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2
- Rebuilt for Python 3.9
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1
- Initial package for Fedora

View File

@@ -1 +1 @@
SHA512 (pytest-subtests-0.12.1.tar.gz) = 5eb4ff950171f8e008b3879453b55bab1ebc82ec60ca4da839158ad6e195c03f1a5d6b6ce2ac263a3ecaa2f684955e4fcc7abf5e429de9ffd898586b758e6cd4
SHA512 (pytest-subtests-0.3.0.tar.gz) = 49ebf151c95e1d2c89af78d8b1abfa06d5db9bf1e297f09a49a802b1b42d064ad38a2aa619aa254d23b475c7548c62b753d999f4e38eb5e1651ae067ca9cd525