f4e0e9
%{?python_enable_dependency_generator}
f4e0e9
%global pypi_name responses
f4e0e9
%global sum Reusable django app for collecting and visualizing network topology
f4e0e9
f4e0e9
f4e0e9
Name:           python-%{pypi_name}
f4e0e9
Version:        0.10.15
f4e0e9
Release:        3%{?dist}
f4e0e9
Summary:        %{sum}
f4e0e9
License:        ASL 2.0
f4e0e9
URL:            https://github.com/getsentry/responses
f4e0e9
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
f4e0e9
f4e0e9
BuildArch:      noarch
f4e0e9
f4e0e9
BuildRequires:  python%{python3_pkgversion}-devel
f4e0e9
BuildRequires:  python%{python3_pkgversion}-requests
f4e0e9
BuildRequires:  python%{python3_pkgversion}-six
f4e0e9
BuildRequires:  python%{python3_pkgversion}-setuptools
f4e0e9
BuildRequires:  python%{python3_pkgversion}-pytest
f4e0e9
BuildRequires:  python%{python3_pkgversion}-coverage
f4e0e9
BuildRequires:  python%{python3_pkgversion}-pytest-cov
f4e0e9
BuildRequires:  python%{python3_pkgversion}-mock
f4e0e9
f4e0e9
%description
f4e0e9
A utility library for mocking out the requests Python library.
f4e0e9
f4e0e9
%package -n python%{python3_pkgversion}-%{pypi_name}
f4e0e9
Summary:        %{sum}
f4e0e9
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
f4e0e9
%if %{undefined __pythondist_requires}
f4e0e9
Requires:       python%{python3_pkgversion}-requests
f4e0e9
Requires:       python%{python3_pkgversion}-six
f4e0e9
%endif
f4e0e9
f4e0e9
%description -n python%{python3_pkgversion}-%{pypi_name}
f4e0e9
A utility library for mocking out the requests Python library.
f4e0e9
f4e0e9
%prep
f4e0e9
%setup -q -n %{pypi_name}-%{version}
f4e0e9
f4e0e9
%build
f4e0e9
%py3_build
f4e0e9
f4e0e9
%install
f4e0e9
%py3_install
f4e0e9
f4e0e9
# skipping tests due to missing dependencies: python-pytest-localserver
f4e0e9
#%%check
f4e0e9
#%%{__python3} setup.py test
f4e0e9
f4e0e9
%files -n python%{python3_pkgversion}-%{pypi_name}
f4e0e9
%license LICENSE
f4e0e9
%doc README.rst
f4e0e9
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
f4e0e9
%{python3_sitelib}/%{pypi_name}.py
f4e0e9
%{python3_sitelib}/__pycache__/%{pypi_name}.*.pyc
f4e0e9
f4e0e9
%changelog
f4e0e9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.15-3
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f4e0e9
f4e0e9
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.15-2
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f4e0e9
f4e0e9
* Sun Jun 14 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.15-1
f4e0e9
- Version update
f4e0e9
f4e0e9
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.14-2
f4e0e9
- Rebuilt for Python 3.9
f4e0e9
f4e0e9
* Tue May 12 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.14-1
f4e0e9
- Version update
f4e0e9
f4e0e9
* Wed Mar 04 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.12-1
f4e0e9
- Version update
f4e0e9
f4e0e9
* Sat Feb 29 2020 Athos Ribeiro <athoscr@fedoraproject.org> - 0.10.11-1
f4e0e9
- Version update
f4e0e9
f4e0e9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-5
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f4e0e9
f4e0e9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-4
f4e0e9
- Rebuilt for Python 3.8.0rc1 (#1748018)
f4e0e9
f4e0e9
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-3
f4e0e9
- Rebuilt for Python 3.8
f4e0e9
f4e0e9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-2
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f4e0e9
f4e0e9
* Wed Mar 06 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.10.5-1
f4e0e9
- Upgrade to 0.10.5 (#1684241).
f4e0e9
- https://github.com/getsentry/responses/blob/0.10.5/CHANGES
f4e0e9
f4e0e9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f4e0e9
f4e0e9
* Sat Dec 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-5
f4e0e9
- Enable python dependency generator
f4e0e9
f4e0e9
* Fri Dec 28 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-4
f4e0e9
- Subpackage python2-responses has been removed
f4e0e9
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
f4e0e9
f4e0e9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f4e0e9
f4e0e9
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
f4e0e9
- Rebuilt for Python 3.7
f4e0e9
f4e0e9
* Mon Apr 09 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 0.9.0-1
f4e0e9
- Version update
f4e0e9
- Explicitly require pythonX-setuptools regardless of environment
f4e0e9
f4e0e9
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-8
f4e0e9
- Update Python 2 dependency declarations to new packaging standards
f4e0e9
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
f4e0e9
f4e0e9
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-7
f4e0e9
- Escape macros in %%changelog
f4e0e9
f4e0e9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-6
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f4e0e9
f4e0e9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-5
f4e0e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f4e0e9
f4e0e9
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-4
f4e0e9
- Rebuild for Python 3.6
f4e0e9
f4e0e9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
f4e0e9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f4e0e9
f4e0e9
* Thu Jun 02 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-2
f4e0e9
- Fixed python packages prefix for el <= 7
f4e0e9
f4e0e9
* Mon Jan 25 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.1-1
f4e0e9
- LICENSE file added in upstream update
f4e0e9
- Commented %%check section due test file missing in pypi release. See https://github.com/getsentry/responses/issues/98
f4e0e9
f4e0e9
* Sat Jan 23 2016 Germano Massullo <germano.massullo@gmail.com> - 0.5.0-1
f4e0e9
- Package review submission