|
rdobuilder |
6836fd |
%global pypi_name responses
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
Name: python-%{pypi_name}
|
|
rdobuilder |
6836fd |
Version: 0.23.1
|
|
rdobuilder |
6836fd |
Release: 1%{?dist}
|
|
rdobuilder |
6836fd |
Summary: Python library to mock out calls with Python requests
|
|
rdobuilder |
6836fd |
License: ASL 2.0
|
|
rdobuilder |
6836fd |
URL: https://github.com/getsentry/responses
|
|
rdobuilder |
6836fd |
Source: %{pypi_source}
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
BuildArch: noarch
|
|
rdobuilder |
6836fd |
BuildRequires: python3-devel
|
|
rdobuilder |
6836fd |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
6836fd |
# Upstream added various requirements in its "tests" extras which are only
|
|
rdobuilder |
6836fd |
# required tests we don't want to run in Fedora (coverage) and strict version
|
|
rdobuilder |
6836fd |
# requirements (pytest >= 7.0 as of March 2022 - not yet in rawhide).
|
|
rdobuilder |
6836fd |
# Patching setup.py is error prone as the patch file has to be regenerated
|
|
rdobuilder |
6836fd |
# every time upstream bumps a version requirement.
|
|
rdobuilder |
6836fd |
# Therefore just list the build requirements here explicitely.
|
|
rdobuilder |
6836fd |
BuildRequires: python3-pytest
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%description
|
|
rdobuilder |
6836fd |
A utility library for mocking out the requests Python library.
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
6836fd |
Summary: Python library to mock out calls with Python requests
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
rdobuilder |
6836fd |
A utility library for mocking out the requests Python library.
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%prep
|
|
rdobuilder |
6836fd |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
rdobuilder |
6836fd |
sed -i '/"types-PyYAML",/d' setup.py
|
|
rdobuilder |
6836fd |
# this test imports missing dependency tomli_w
|
|
rdobuilder |
6836fd |
rm -rf %{pypi_name}/tests/test_recorder.py
|
|
rdobuilder |
6836fd |
%generate_buildrequires
|
|
rdobuilder |
6836fd |
%pyproject_buildrequires -r
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%build
|
|
rdobuilder |
6836fd |
%pyproject_wheel
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%install
|
|
rdobuilder |
6836fd |
%pyproject_install
|
|
rdobuilder |
6836fd |
%pyproject_save_files %{pypi_name}
|
|
rdobuilder |
6836fd |
# we do not ship tests
|
|
rdobuilder |
6836fd |
sed -i -e '/\/tests\//d' %{pyproject_files}
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%check
|
|
rdobuilder |
6836fd |
# skipping tests due to missing dependencies: python3-pytest-httpserver
|
|
rdobuilder |
6836fd |
%pytest -k "not passthrough and not passthru and not test_mock_not_leaked"
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
rdobuilder |
6836fd |
%doc README.rst
|
|
rdobuilder |
6836fd |
%exclude %{python3_sitelib}/responses/tests
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
%changelog
|
|
rdobuilder |
6836fd |
* Sat Mar 11 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 0.23.1-1
|
|
rdobuilder |
6836fd |
- update to 0.23.1
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Thu Dec 29 2022 Miro Hrončok <mhroncok@redhat.com> - 0.22.0-2
|
|
rdobuilder |
6836fd |
- Drop a dependency on deprecated python3-toml
|
|
rdobuilder |
6836fd |
- https://fedoraproject.org/wiki/Changes/DeprecatePythonToml
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Oct 12 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.22.0-1
|
|
rdobuilder |
6836fd |
- update to 0.22.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-3
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.21.0-2
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.11
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sun May 29 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.21.0-1
|
|
rdobuilder |
6836fd |
- update to 0.21.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Mar 18 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.20.0-1
|
|
rdobuilder |
6836fd |
- update to 0.20.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Mon Mar 07 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.19.0-1
|
|
rdobuilder |
6836fd |
- update to 0.19.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Feb 02 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.18.0-1
|
|
rdobuilder |
6836fd |
- update to 0.18.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Jan 26 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.17.0-1
|
|
rdobuilder |
6836fd |
- update to 0.17.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Jan 26 2022 Orion Poplawski <orion@nwra.com> - 0.16.0-3
|
|
rdobuilder |
6836fd |
- Do not run coverage tests
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Nov 17 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 0.16.0-1
|
|
rdobuilder |
6836fd |
- Update to 0.16.0
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.15-5
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.15-4
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.10
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.15-3
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.15-2
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sun Jun 14 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.15-1
|
|
rdobuilder |
6836fd |
- Version update
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.14-2
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.9
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Tue May 12 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.14-1
|
|
rdobuilder |
6836fd |
- Version update
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Mar 04 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.12-1
|
|
rdobuilder |
6836fd |
- Version update
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Feb 29 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.11-1
|
|
rdobuilder |
6836fd |
- Version update
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-5
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-4
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-3
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.8
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-2
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Wed Mar 06 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.10.5-1
|
|
rdobuilder |
6836fd |
- Upgrade to 0.10.5 (#1684241).
|
|
rdobuilder |
6836fd |
- https://github.com/getsentry/responses/blob/0.10.5/CHANGES
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Dec 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-5
|
|
rdobuilder |
6836fd |
- Enable python dependency generator
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Dec 28 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-4
|
|
rdobuilder |
6836fd |
- Subpackage python2-responses has been removed
|
|
rdobuilder |
6836fd |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
|
|
rdobuilder |
6836fd |
- Rebuilt for Python 3.7
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Mon Apr 09 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.9.0-1
|
|
rdobuilder |
6836fd |
- Version update
|
|
rdobuilder |
6836fd |
- Explicitly require pythonX-setuptools regardless of environment
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-8
|
|
rdobuilder |
6836fd |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
6836fd |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-7
|
|
rdobuilder |
6836fd |
- Escape macros in %%changelog
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-6
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-5
|
|
rdobuilder |
6836fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-4
|
|
rdobuilder |
6836fd |
- Rebuild for Python 3.6
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
|
|
rdobuilder |
6836fd |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Thu Jun 02 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-2
|
|
rdobuilder |
6836fd |
- Fixed python packages prefix for el <= 7
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Mon Jan 25 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-1
|
|
rdobuilder |
6836fd |
- LICENSE file added in upstream update
|
|
rdobuilder |
6836fd |
- Commented %%check section due test file missing in pypi release. See https://github.com/getsentry/responses/issues/98
|
|
rdobuilder |
6836fd |
|
|
rdobuilder |
6836fd |
* Sat Jan 23 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.0-1
|
|
rdobuilder |
6836fd |
- Package review submission
|