|
|
b77872b |
%global srcname requests-file
|
|
|
b77872b |
|
|
|
b77872b |
Name: python-%{srcname}
|
|
|
f4f4e20 |
Version: 1.4.3
|
|
|
e932bdd |
Release: 9%{?dist}
|
|
|
2184a4f |
Summary: Transport adapter for using file:// URLs with python-requests
|
|
|
2184a4f |
|
|
|
2184a4f |
License: ASL 2.0
|
|
|
2184a4f |
URL: https://github.com/dashea/requests-file
|
|
|
e932bdd |
Source0: %pypi_source
|
|
|
2184a4f |
|
|
|
2184a4f |
BuildArch: noarch
|
|
|
2184a4f |
|
|
|
b77872b |
%description
|
|
|
b77872b |
Requests-File is a transport adapter for use with the Requests Python
|
|
|
b77872b |
library to allow local file system access via file:// URLs.
|
|
|
b77872b |
|
|
|
b77872b |
This is the Python 2 version of the requests_file module
|
|
|
b77872b |
|
|
|
2184a4f |
%package -n python3-requests-file
|
|
|
2184a4f |
Summary: Transport adapter for using file:// URLs with python3-requests
|
|
|
b77872b |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
2184a4f |
|
|
|
2184a4f |
BuildRequires: python3-devel
|
|
|
2184a4f |
BuildRequires: python3-setuptools
|
|
|
2184a4f |
BuildRequires: python3-requests
|
|
|
2184a4f |
BuildRequires: python3-six
|
|
|
2184a4f |
|
|
|
2184a4f |
Requires: python3-requests
|
|
|
2184a4f |
Requires: python3-six
|
|
|
2184a4f |
|
|
|
2184a4f |
%description -n python3-requests-file
|
|
|
2184a4f |
Requests-File is a transport adapter for use with the Requests Python
|
|
|
2184a4f |
library to allow local file system access via file:// URLs.
|
|
|
2184a4f |
|
|
|
2184a4f |
This is the Python 3 version of the requests_file module
|
|
|
2184a4f |
|
|
|
2184a4f |
%prep
|
|
|
b77872b |
%autosetup -n %{srcname}-%{version}
|
|
|
2184a4f |
rm -rf requests_file.egg-info
|
|
|
2184a4f |
|
|
|
2184a4f |
%build
|
|
|
b77872b |
%py3_build
|
|
|
2184a4f |
|
|
|
2184a4f |
%install
|
|
|
b77872b |
%py3_install
|
|
|
2184a4f |
|
|
|
2184a4f |
%check
|
|
|
2184a4f |
%{__python3} setup.py test
|
|
|
2184a4f |
|
|
|
2184a4f |
%files -n python3-requests-file
|
|
|
2184a4f |
%license LICENSE
|
|
|
2184a4f |
%doc README.rst
|
|
|
2184a4f |
%{python3_sitelib}/requests_file.py*
|
|
|
2184a4f |
%{python3_sitelib}/__pycache__/requests_file.*
|
|
|
2184a4f |
%{python3_sitelib}/requests_file*.egg-info*
|
|
|
2184a4f |
|
|
|
2184a4f |
%changelog
|
|
|
e932bdd |
* Mon Dec 17 2018 David Shea <dshea@redhat.com> - 1.4.3-9
|
|
|
e932bdd |
- Remove the python2 subpackage
|
|
|
e932bdd |
- Remove all the dumb %%if statements
|
|
|
e932bdd |
|
|
|
7c7273c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-8
|
|
|
7c7273c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7c7273c |
|
|
|
e1408df |
* Fri Jun 15 2018 Miro HronĨok <mhroncok@redhat.com> - 1.4.3-7
|
|
|
e1408df |
- Rebuilt for Python 3.7
|
|
|
e1408df |
|
|
|
19a85b3 |
* Fri Mar 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.3-6
|
|
|
19a85b3 |
- Don't build Python 2 subpackage on EL > 7
|
|
|
19a85b3 |
|
|
Nick Bebout |
fdf22b2 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 1.4.3-5
|
|
Nick Bebout |
fdf22b2 |
- Add python2- prefix where possible
|
|
Nick Bebout |
fdf22b2 |
|
|
|
9e2be19 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-4
|
|
|
9e2be19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9e2be19 |
|
|
|
5e78a00 |
* Wed Feb 7 2018 Eli Young <elyscape@gmail.com> - 1.4.3-3
|
|
|
5e78a00 |
- Package for EPEL7
|
|
|
5e78a00 |
|
|
|
0263dd3 |
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.3-2
|
|
|
0263dd3 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
0263dd3 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
0263dd3 |
|
|
|
f4f4e20 |
* Wed Jan 3 2018 David Shea <dshea@redhat.com> - 1.4.3-1
|
|
|
f4f4e20 |
- Update to requests-file-1.4.3, which sets the response URL to the request URL
|
|
|
f4f4e20 |
|
|
|
8056cde |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
|
8056cde |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8056cde |
|
|
|
cd3543e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
|
|
cd3543e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cd3543e |
|
|
|
36e22e8 |
* Tue Dec 13 2016 Charalampos Stratakis cstratak@redhat.com> - 1.4-5
|
|
|
36e22e8 |
- Rebuild for Python 3.6
|
|
|
36e22e8 |
|
|
|
7ddd111 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
|
|
|
7ddd111 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
7ddd111 |
|
|
|
90ea72d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
|
|
90ea72d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
90ea72d |
|
|
Robert Kuska |
ad8c202 |
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 1.4-2
|
|
Robert Kuska |
ad8c202 |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
ad8c202 |
|
|
|
b77872b |
* Mon Sep 14 2015 David Shea <dshea@redhat.com> - 1.4-1
|
|
|
b77872b |
- Use getprerredencoding instead of nl_langinfo
|
|
|
b77872b |
- Handle files with a drive component
|
|
|
b77872b |
- Switch to the new Fedora packaging guidelines, which renames python-requests-file to python2-requests-file
|
|
|
816f466 |
|
|
|
b4535dc |
* Mon May 18 2015 David Shea <dshea@redhat.com> - 1.3.1-1
|
|
|
b4535dc |
- Add python version classifiers to the package info
|
|
|
b4535dc |
|
|
|
b4535dc |
* Mon May 18 2015 David Shea <dshea@redhat.com> - 1.3-1
|
|
|
b4535dc |
- Fix a crash when closing a file response.
|
|
|
b4535dc |
- Use named aliases instead of integers for status codes.
|
|
|
b4535dc |
|
|
|
2184a4f |
* Fri May 8 2015 David Shea <dshea@redhat.com> - 1.2-1
|
|
|
2184a4f |
- Added support for HEAD requests
|
|
|
2184a4f |
|
|
|
2184a4f |
* Thu Mar 12 2015 David Shea <dshea@redhat.com> - 1.1-1
|
|
|
2184a4f |
- Added handing for %% escapes in URLs
|
|
|
2184a4f |
- Proofread the README
|
|
|
2184a4f |
|
|
|
2184a4f |
* Tue Mar 10 2015 David Shea <dshea@redhat.com> - 1.0-1
|
|
|
2184a4f |
- Initial package
|