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