[python26-requests/el5] Initial import

Matt Spaulding madsa at fedoraproject.org
Sat Jul 7 16:20:45 UTC 2012


commit 20382573ddb0a6c4beb880aa2945b92849aaf853
Author: Matt Spaulding <mspaulding at eucalyptus.com>
Date:   Sat Jul 7 09:19:36 2012 -0700

    Initial import

 .gitignore             |    1 +
 python26-requests.spec |  105 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 107 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..eea316f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/requests-0.13.1.tar.gz
diff --git a/python26-requests.spec b/python26-requests.spec
new file mode 100644
index 0000000..0117280
--- /dev/null
+++ b/python26-requests.spec
@@ -0,0 +1,105 @@
+# Use Python 2.6
+%global pybasever 2.6
+%global __python_ver 26
+%global __python /usr/bin/python%{?pybasever}
+%global __os_install_post %{__multiple_python_os_install_post}
+
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+%global pkgname requests
+
+Name:           python%{__python_ver}-requests
+Version:        0.13.1
+Release:        1%{?dist}
+Summary:        HTTP library, written in Python, for human beings
+Group:          Development/Languages
+
+License:        ISC and MIT
+URL:            http://pypi.python.org/pypi/requests
+Source0:        http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python26-devel, python26-distribute
+
+%description
+Most existing Python modules for sending HTTP requests are extremely verbose and 
+cumbersome. Python’s 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 %{pkgname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+ 
+%files
+%defattr(-,root,root,-)
+%doc NOTICE LICENSE README.rst HISTORY.rst
+%{python_sitelib}/*.egg-info
+%dir %{python_sitelib}/requests
+%{python_sitelib}/requests/*
+
+
+%changelog
+* Fri Jul 3 2012 Matt Spaulding <mspaulding06 at gmail.com> 0.13.1-1
+- Initial build for the el5 python 2.6 stack
+
+* Sun Jun 10 2012 Arun S A G <sagarun at gmail.com> 0.13.1-1
+- 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 at gmail.com> 0.11.1-1
+- Updated to upstream release 0.11.1
+
+* Thu Mar 29 2012 Arun S A G <sagarun at gmail.com> 0.10.6-3
+- Support building package for EL6
+
+* Tue Mar 27 2012 Rex Dieter <rdieter at fedoraproject.org> 0.10.6-2
+- +python3-requests pkg
+
+* Sat Mar 3 2012 Arun SAG <sagarun at gmail.com> - 0.10.6-1
+- Updated to new upstream version
+
+* Sat Jan 21 2012 Arun SAG <sagarun at gmail.com> - 0.9.3-1
+- Updated to new upstream version 0.9.3
+- Include python-gevent as a dependency for requests.async
+- Clean up shebangs in requests/setup.py,test_requests.py and test_requests_ext.py
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sun Nov 27 2011 Arun SAG <sagarun at gmail.com> - 0.8.2-1
+- New upstream version
+- keep alive support
+- complete removal of cookiejar and urllib2
+
+* Thu Nov 10 2011 Arun SAG <sagarun at gmail.com> - 0.7.6-1
+- Updated to new upstream release 0.7.6
+
+* Thu Oct 20 2011 Arun SAG <sagarun at gmail.com> - 0.6.6-1
+- Updated to version 0.6.6
+
+* Fri Aug 26 2011 Arun SAG <sagarun at gmail.com> - 0.6.1-1
+- Updated to version 0.6.1
+
+* Sat Aug 20 2011 Arun SAG <sagarun at gmail.com> - 0.6.0-1
+- Updated to latest version 0.6.0
+
+* Mon Aug 15 2011 Arun SAG <sagarun at 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 at gmail.com> - 0.5.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..6704a5e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+31a08091feeefe60817e45122d933219  requests-0.13.1.tar.gz


More information about the scm-commits mailing list