Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Arun SAG
98518e8273 Add python-gevent to support requests.async 2012-01-08 20:45:26 +05:30
Arun SAG
82f6540d84 Updated to version 0.6.6 2011-10-21 08:50:14 +05:30
Arun SAG
7c6554a2e7 updated to upstream version 0.6.1 2011-08-27 00:08:55 +05:30
Arun SAG
8dd0b064fb Updated to upstream version 0.6.0 2011-08-20 19:06:19 +05:30
Arun SAG
d2561dafc5 New package: python-requests - HTTP for Humans 2011-08-16 21:48:44 +05:30
3 changed files with 70 additions and 0 deletions

4
.gitignore vendored
View file

@ -0,0 +1,4 @@
/requests-0.5.1.tar.gz
/requests-0.6.0.tar.gz
/requests-0.6.1.tar.gz
/requests-0.6.6.tar.gz

65
python-requests.spec Normal file
View file

@ -0,0 +1,65 @@
Name: python-requests
Version: 0.6.6
Release: 2%{?dist}
Summary: HTTP library, written in Python, for human beings
License: ISC
URL: http://pypi.python.org/pypi/requests
Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
Requires: python-gevent
%description
Most existing Python modules for sending HTTP requests are extremely verbose and
cumbersome. Pythons built-in urllib2 module provides most of the HTTP
capabilities you should need, but the API is thoroughly broken. This library is
designed to make HTTP requests easy for developers.
%prep
%setup -q -n requests-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%doc LICENSE README.rst HISTORY.rst
%{python_sitelib}/*.egg-info
%dir %{python_sitelib}/requests
%dir %{python_sitelib}/requests/packages
%dir %{python_sitelib}/requests/packages/poster
%{python_sitelib}/requests/packages/*.py*
%{python_sitelib}/requests/packages/poster/*.py*
%{python_sitelib}/requests/*.py*
%changelog
* Sun Jan 08 2012 Arun SAG <sagarun@gmail.com> - 0.6.6-2
- Add python-gevent as a dependency
* Thu Oct 20 2011 Arun SAG <sagarun@gmail.com> - 0.6.6-1
- Updated to version 0.6.6
* Fri Aug 26 2011 Arun SAG <sagarun@gmail.com> - 0.6.1-1
- Updated to version 0.6.1
* Sat Aug 20 2011 Arun SAG <sagarun@gmail.com> - 0.6.0-1
- Updated to latest version 0.6.0
* Mon Aug 15 2011 Arun SAG <sagarun@gmail.com> - 0.5.1-2
- Remove OPT_FLAGS from build section since it is a noarch package
- Fix use of mixed tabs and space
- Remove extra space around the word cumbersome in description
* Sun Aug 14 2011 Arun SAG <sagarun@gmail.com> - 0.5.1-1
- Initial package

View file

@ -0,0 +1 @@
2180dacebc0e30ba730d083739907af6 requests-0.6.6.tar.gz