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