From 791c683ede8eeecc0e85ed7b368404247f51b838 Mon Sep 17 00:00:00 2001 From: Rosa Date: Fri, 27 Apr 2012 05:20:09 +0400 Subject: [PATCH] Automatic import for version 1.3 --- .abf.yml | 2 ++ python-urllib3.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .abf.yml create mode 100644 python-urllib3.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..cd95d2e --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "urllib3-1.3.tar.gz": fbe1e1dabd65b59bff4a64235cc5803c3206dcac diff --git a/python-urllib3.spec b/python-urllib3.spec new file mode 100644 index 0000000..a1edc0d --- /dev/null +++ b/python-urllib3.spec @@ -0,0 +1,50 @@ +%define module urllib3 +%define name python-%{module} +%define version 1.3 +%define release 1 + +Summary: Python HTTP library with thread-safe connection pooling, file post, and more +Name: %{name} +Version: %{version} +Release: %{release} +Source0: http://pypi.python.org/packages/source/u/%{module}/%{module}-%{version}.tar.gz +License: MIT +Group: Development/Python +Url: http://urllib3.readthedocs.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch +BuildRequires: python-devel, python-setuptools + +%description +There are two critical features missing from the Python standard +library: Connection re-using/pooling and file posting. It's not +terribly hard to implement these yourself, but it's much easier to use +a module that already did the work for you. + +The Python standard libraries urllib and urllib2 have little to do +with each other. They were designed to be independent and standalone, +each solving a different scope of problems, and urllib3 follows in a +similar vein. + +%prep +%setup -q -n %{module}-%{version} + +%install +%__rm -rf %{buildroot} +PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} + +%clean +%__rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc *.txt +%py_sitedir/urllib3* +%py_sitedir/dummyserver* + + +%changelog +* Wed Apr 25 2012 Lev Givon 1.3-1 ++ Revision: 793427 +- imported package python-urllib3 +