|
|
6be9fcd |
%global srcname pytest-repeat
|
|
|
6be9fcd |
|
|
|
6be9fcd |
Name: python-%{srcname}
|
|
|
70d8216 |
Version: 0.9.3
|
|
|
4288a52 |
Release: 2%{?dist}
|
|
|
6be9fcd |
Summary: A pytest plugin for repeating test execution
|
|
|
6be9fcd |
|
|
|
70d8216 |
License: MPL-2.0
|
|
|
70d8216 |
URL: https://github.com/pytest-dev/pytest-repeat
|
|
|
70d8216 |
Source0: https://github.com/pytest-dev/pytest-repeat/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
6be9fcd |
|
|
|
6be9fcd |
BuildArch: noarch
|
|
|
6be9fcd |
|
|
|
70d8216 |
%global _description %{expand:
|
|
|
6be9fcd |
pytest-repeat is a plugin for py.test that makes it easy to repeat a single
|
|
|
6be9fcd |
test, or multiple tests, a specific number of times.
|
|
|
70d8216 |
}
|
|
|
70d8216 |
|
|
|
70d8216 |
%description %_description
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
6be9fcd |
Summary: %{summary}
|
|
|
6be9fcd |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
6be9fcd |
|
|
|
70d8216 |
%description -n python%{python3_pkgversion}-%{srcname} %_description
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%prep
|
|
|
70d8216 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
70d8216 |
|
|
|
70d8216 |
|
|
|
70d8216 |
%generate_buildrequires
|
|
|
70d8216 |
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}; export SETUPTOOLS_SCM_PRETEND_VERSION
|
|
|
70d8216 |
%pyproject_buildrequires
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%build
|
|
|
70d8216 |
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}; export SETUPTOOLS_SCM_PRETEND_VERSION
|
|
|
70d8216 |
%pyproject_wheel
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%install
|
|
|
70d8216 |
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}; export SETUPTOOLS_SCM_PRETEND_VERSION
|
|
|
70d8216 |
%pyproject_install
|
|
|
70d8216 |
%pyproject_save_files pytest_repeat
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%check
|
|
|
70d8216 |
%pytest test_repeat.py
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
70d8216 |
%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
|
|
|
6be9fcd |
%license LICENSE
|
|
|
6be9fcd |
%doc CHANGES.rst README.rst
|
|
|
6be9fcd |
|
|
|
6be9fcd |
|
|
|
6be9fcd |
%changelog
|
|
|
4288a52 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
4288a52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
4288a52 |
|
|
|
70d8216 |
* Mon Jan 22 2024 Scott K Logan <logans@cottsay.net> - 0.9.3-1
|
|
|
70d8216 |
- Update to 0.9.3 (rhbz#2241970)
|
|
|
70d8216 |
- Define _description variable to reduce duplication
|
|
|
70d8216 |
- Drop macro from URL to improve ergonomics
|
|
|
70d8216 |
- Use modern Python packaging macros
|
|
|
70d8216 |
- Switch to SPDX license identifier
|
|
|
70d8216 |
|
|
|
64b187b |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-11
|
|
|
64b187b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
64b187b |
|
|
|
33ecf2f |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
|
|
|
33ecf2f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
33ecf2f |
|
|
|
d16b7f6 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.9.1-9
|
|
|
d16b7f6 |
- Rebuilt for Python 3.12
|
|
|
d16b7f6 |
|
|
|
89e9eda |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
|
|
|
89e9eda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
89e9eda |
|
|
|
aacd92c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-7
|
|
|
aacd92c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
aacd92c |
|
|
|
c013135 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.9.1-6
|
|
|
c013135 |
- Rebuilt for Python 3.11
|
|
|
c013135 |
|
|
|
43b41db |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
|
|
|
43b41db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
43b41db |
|
|
|
01bdabc |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
|
|
|
01bdabc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
01bdabc |
|
|
|
7d9b70d |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.1-3
|
|
|
7d9b70d |
- Rebuilt for Python 3.10
|
|
|
7d9b70d |
|
|
|
388ef58 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
|
388ef58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
388ef58 |
|
|
|
c0a1baa |
* Mon Nov 02 2020 Scott K Logan <logans@cottsay.net> - 0.9.1-1
|
|
|
c0a1baa |
- Update to 0.9.1 (rhbz#1893400)
|
|
|
c0a1baa |
|
|
|
edc36bf |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
|
|
|
edc36bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
edc36bf |
|
|
|
27fd11e |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-6
|
|
|
27fd11e |
- Rebuilt for Python 3.9
|
|
|
27fd11e |
|
|
|
267fc8a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
|
|
267fc8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
267fc8a |
|
|
|
2528914 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
|
|
|
2528914 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
2528914 |
|
|
|
03f31f7 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-3
|
|
|
03f31f7 |
- Rebuilt for Python 3.8
|
|
|
03f31f7 |
|
|
|
8aea338 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
|
8aea338 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8aea338 |
|
|
|
4d0cfa7 |
* Mon Mar 18 2019 Scott K Logan <logans@cottsay.net> - 0.8.0-1
|
|
|
4d0cfa7 |
- Update to 0.8.0
|
|
|
4d0cfa7 |
- Require pytest 3.6
|
|
|
4d0cfa7 |
- Drop python3_other subpackage
|
|
|
4d0cfa7 |
|
|
|
6be9fcd |
* Tue Feb 12 2019 Scott K Logan <logans@cottsay.net> - 0.7.0-1
|
|
|
6be9fcd |
- Initial package
|