14
0

- Added 0001-Depend-on-requests-2.0.1.patch: Require requests>=2.0.1.

Really a requirement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=11
This commit is contained in:
Sascha Peilicke
2014-01-30 14:01:53 +00:00
committed by Git OBS Bridge
parent ad017e31e6
commit b80d498037
3 changed files with 35 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
From 3a6fb4eafa2d9ea42bd3806a3eba51b07cb9c70c Mon Sep 17 00:00:00 2001
From: Sascha Peilicke <saschpe@gmx.de>
Date: Thu, 30 Jan 2014 14:57:04 +0100
Subject: [PATCH] Depend on requests>=2.0.1
requests.packages.urllib3.connection was added with 2.0.1 and is
imported by wsgi_intercept/requests_intercept.py.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 0d62f78..f5ca681 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ META = {
'testing': [
'pytest>=2.4',
'httplib2',
- 'requests'
+ 'requests>=2.0.1'
],
},
}
--
1.8.5.2

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 30 14:01:10 UTC 2014 - speilicke@suse.com
- Added 0001-Depend-on-requests-2.0.1.patch: Require requests>=2.0.1.
Really a requirement
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 17 15:47:55 UTC 2014 - speilicke@suse.com Fri Jan 17 15:47:55 UTC 2014 - speilicke@suse.com

View File

@@ -30,8 +30,8 @@ BuildRequires: python-setuptools
BuildRequires: python-httplib2 BuildRequires: python-httplib2
BuildRequires: python-nose BuildRequires: python-nose
BuildRequires: python-pytest >= 2.4 BuildRequires: python-pytest >= 2.4
BuildRequires: python-requests BuildRequires: python-requests >= 2.0.1
Recommends: python-requests Recommends: python-requests >= 2.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}