|
|
1e7b27e |
%global pypi_name testscenarios
|
|
|
1e7b27e |
|
|
|
1e7b27e |
Name: python-%{pypi_name}
|
|
|
bc7d43c |
Version: 0.5.0
|
|
|
85a1407 |
Release: 25%{?dist}
|
|
|
1e7b27e |
Summary: Testscenarios, a pyunit extension for dependency injection
|
|
|
1e7b27e |
|
|
|
1e7b27e |
License: ASL 2.0 and BSD
|
|
|
85a1407 |
URL: https://github.com/testing-cabal/testscenarios
|
|
|
85a1407 |
Source: %pypi_source
|
|
|
1e7b27e |
BuildArch: noarch
|
|
|
bc7d43c |
|
|
|
8eb72e0 |
BuildRequires: python3-devel
|
|
|
1e7b27e |
|
|
|
85a1407 |
%global _description %{expand:
|
|
|
8eb72e0 |
testscenarios provides clean dependency injection for python unittest style
|
|
|
8eb72e0 |
tests. This can be used for interface testing (testing many implementations via
|
|
|
8eb72e0 |
a single test suite) or for classic dependency injection (provide tests with
|
|
|
8eb72e0 |
dependencies externally to the test code itself, allowing easy testing in
|
|
|
85a1407 |
different situations).}
|
|
|
85a1407 |
|
|
|
85a1407 |
%description %{_description}
|
|
|
85a1407 |
|
|
|
85a1407 |
%package -n python3-%{pypi_name}
|
|
|
85a1407 |
Summary: %{summary}
|
|
|
85a1407 |
|
|
|
85a1407 |
%description -n python3-%{pypi_name} %{_description}
|
|
|
8eb72e0 |
|
|
|
1e7b27e |
%prep
|
|
|
1e7b27e |
%setup -q -n %{pypi_name}-%{version}
|
|
|
2bd3711 |
# Remove unknown test options from setup.py
|
|
|
2bd3711 |
sed -i '/^buffer = 1$/d' setup.cfg
|
|
|
2bd3711 |
sed -i '/^catch = 1$/d' setup.cfg
|
|
|
1e7b27e |
|
|
|
85a1407 |
%generate_buildrequires
|
|
|
85a1407 |
%pyproject_buildrequires
|
|
|
85a1407 |
|
|
|
1e7b27e |
%build
|
|
|
85a1407 |
%pyproject_wheel
|
|
|
8eb72e0 |
|
|
|
1e7b27e |
|
|
|
1e7b27e |
%install
|
|
|
85a1407 |
%pyproject_install
|
|
|
85a1407 |
%pyproject_save_files %{pypi_name}
|
|
|
8eb72e0 |
|
|
|
2bd3711 |
%check
|
|
|
85a1407 |
%{python3} setup.py test
|
|
|
1e7b27e |
|
|
|
85a1407 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
51e48f4 |
%license Apache-2.0 BSD
|
|
|
51e48f4 |
%doc GOALS HACKING NEWS README doc/
|
|
|
8eb72e0 |
|
|
|
1e7b27e |
%changelog
|
|
|
85a1407 |
* Sat Apr 30 2022 Carl George <carl@george.computer> - 0.5.0-25
|
|
|
85a1407 |
- Convert to pyproject macros
|
|
|
85a1407 |
|
|
|
ae3d9eb |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-24
|
|
|
ae3d9eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ae3d9eb |
|
|
|
2e87630 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-23
|
|
|
2e87630 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2e87630 |
|
|
|
e2ce21f |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.5.0-22
|
|
|
e2ce21f |
- Rebuilt for Python 3.10
|
|
|
e2ce21f |
|
|
|
5c362b8 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-21
|
|
|
5c362b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5c362b8 |
|
|
|
30080d3 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-20
|
|
|
30080d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
30080d3 |
|
|
|
add8b99 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-19
|
|
|
add8b99 |
- Rebuilt for Python 3.9
|
|
|
add8b99 |
|
|
|
6676a04 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-18
|
|
|
6676a04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
6676a04 |
|
|
|
c55f663 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-17
|
|
|
c55f663 |
- Subpackage python2-testscenarios has been removed
|
|
|
c55f663 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
c55f663 |
|
|
|
82375dd |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-16
|
|
|
82375dd |
- Rebuilt for Python 3.8
|
|
|
82375dd |
|
|
|
e4beffd |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
|
|
e4beffd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e4beffd |
|
|
|
2f927b0 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-14
|
|
|
2f927b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2f927b0 |
|
|
|
99b444a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-13
|
|
|
99b444a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
99b444a |
|
|
|
2bd3711 |
* Thu Jun 21 2018 Lumír Balhar <lbalhar@redhat.com> - 0.5.0-12
|
|
|
2bd3711 |
- Added tests
|
|
|
2bd3711 |
- Fixed dependencies
|
|
|
2bd3711 |
- Improved and modernized specfile
|
|
|
2bd3711 |
|
|
|
3e8be3a |
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-11
|
|
|
3e8be3a |
- Rebuilt for Python 3.7
|
|
|
3e8be3a |
|
|
|
10f66d6 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0-10
|
|
|
10f66d6 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
10f66d6 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
10f66d6 |
|
|
|
6f1ef3a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-9
|
|
|
6f1ef3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6f1ef3a |
|
|
|
c4d49d7 |
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.5.0-8
|
|
|
c4d49d7 |
- Cleanup spec file conditionals
|
|
|
c4d49d7 |
|
|
|
d595525 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.0-7
|
|
|
d595525 |
- Python 2 binary package renamed to python2-testscenarios
|
|
|
d595525 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
d595525 |
|
|
|
331b30c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
331b30c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
331b30c |
|
|
|
31c462f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
|
|
|
31c462f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
31c462f |
|
|
|
a487471 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-4
|
|
|
a487471 |
- Rebuild for Python 3.6
|
|
|
a487471 |
|
|
|
2d31037 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
|
|
|
2d31037 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
2d31037 |
|
|
|
8fb6620 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
8fb6620 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8fb6620 |
|
|
|
bc7d43c |
* Fri Nov 20 2015 Matthias Runge <mrunge@redhat.com> - 0.5.0-1
|
|
|
bc7d43c |
- update to 0.5.0
|
|
|
bc7d43c |
|
|
|
076e3c6 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7
|
|
|
076e3c6 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
076e3c6 |
|
|
|
63f1003 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-6
|
|
|
63f1003 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
63f1003 |
|
|
|
8eb72e0 |
* Fri Apr 03 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4-5
|
|
|
8eb72e0 |
- Add python3 support (RHBZ #1208889)
|
|
|
8eb72e0 |
|
|
|
792d03a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
|
|
|
792d03a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
792d03a |
|
|
|
1573c35 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
1573c35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1573c35 |
|
|
|
1e7b27e |
* Tue May 21 2013 Matthias Runge <mrunge@redhat.com> - 0.4-2
|
|
|
1e7b27e |
- correct License: ASL 2.0 and BSD
|
|
|
1e7b27e |
- include doc files
|
|
|
1e7b27e |
|
|
|
1e7b27e |
* Fri May 17 2013 Matthias Runge <mrunge@redhat.com> - 0.4-1
|
|
|
1e7b27e |
- Initial package.
|