Updated to 0.13.1

This commit is contained in:
Arun SAG 2012-06-10 22:47:44 +05:30
parent d38a7dff28
commit 74db89b328
3 changed files with 13 additions and 9 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/requests-0.9.3.tar.gz /requests-0.9.3.tar.gz
/requests-0.10.6.tar.gz /requests-0.10.6.tar.gz
/requests-0.11.1.tar.gz /requests-0.11.1.tar.gz
/requests-0.13.1.tar.gz

View File

@ -5,8 +5,8 @@
%endif %endif
Name: python-requests Name: python-requests
Version: 0.11.1 Version: 0.13.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: HTTP library, written in Python, for human beings Summary: HTTP library, written in Python, for human beings
License: ISC and MIT License: ISC and MIT
@ -16,10 +16,7 @@ Source0: http://pypi.python.org/packages/source/r/requests/requests-%{ver
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python-devel
Requires: python-certifi Requires: ca-certificates
%if 0%{?fedora}
Requires: python-gevent
%endif
%description %description
Most existing Python modules for sending HTTP requests are extremely verbose and Most existing Python modules for sending HTTP requests are extremely verbose and
@ -31,11 +28,14 @@ designed to make HTTP requests easy for developers.
%package -n python3-requests %package -n python3-requests
Summary: HTTP library, written in Python, for human beings Summary: HTTP library, written in Python, for human beings
BuildRequires: python3-devel BuildRequires: python3-devel
Requires: python3-chardet
%description -n python3-requests %description -n python3-requests
Most existing Python modules for sending HTTP requests are extremely verbose and Most existing Python modules for sending HTTP requests are extremely verbose and
cumbersome. Pythons built-in urllib2 module provides most of the HTTP cumbersome. Pythons built-in urllib2 module provides most of the HTTP
capabilities you should need, but the API is thoroughly broken. This library is capabilities you should need, but the API is thoroughly broken. This library is
designed to make HTTP requests easy for developers. designed to make HTTP requests easy for developers.
%else
Requires: python-chardet
%endif %endif
@ -72,8 +72,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Apr 08 2012 Arun S A G <sagarun@gmail.com> 0.11.1-2 * Sun Jun 10 2012 Arun S A G <sagarun@gmail.com> 0.13.1-1
- Requires python-certifi for https processing - Updated to latest upstream release 0.13.1
- Use system provided ca-certificates
- No more async requests use grrequests https://github.com/kennethreitz/grequests
- Remove gevent as it is no longer required by requests
* Sun Apr 01 2012 Arun S A G <sagarun@gmail.com> 0.11.1-1 * Sun Apr 01 2012 Arun S A G <sagarun@gmail.com> 0.11.1-1
- Updated to upstream release 0.11.1 - Updated to upstream release 0.11.1

View File

@ -1 +1 @@
c903c32a0e1f04889e693da8e9c71872 requests-0.11.1.tar.gz 31a08091feeefe60817e45122d933219 requests-0.13.1.tar.gz