summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-12-17 22:33:56 +0000
committerTim Harder <radhermit@gentoo.org>2012-12-17 22:33:56 +0000
commit71978d48b5e73fd9784c6505f3a59b2bf426cb9b (patch)
tree7271a072a6fcacb35880a8494242c9685f3af104 /dev-python/requests/files
parentgrab it (diff)
downloadgentoo-2-71978d48b5e73fd9784c6505f3a59b2bf426cb9b.tar.gz
gentoo-2-71978d48b5e73fd9784c6505f3a59b2bf426cb9b.tar.bz2
gentoo-2-71978d48b5e73fd9784c6505f3a59b2bf426cb9b.zip
Version bump. Migrate to distutils-r1 eclass.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/requests/files')
-rw-r--r--dev-python/requests/files/requests-1.0.0-system-libs.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/requests/files/requests-1.0.0-system-libs.patch b/dev-python/requests/files/requests-1.0.0-system-libs.patch
new file mode 100644
index 000000000000..a4182b61bad9
--- /dev/null
+++ b/dev-python/requests/files/requests-1.0.0-system-libs.patch
@@ -0,0 +1,68 @@
+--- requests-1.0.0/requests/adapters.py
++++ requests-1.0.0/requests/adapters.py
+@@ -13,15 +13,15 @@
+
+ from .models import Response
+ from .auth import HTTPProxyAuth
+-from .packages.urllib3.poolmanager import PoolManager
++from urllib3.poolmanager import PoolManager
+ from .hooks import dispatch_hook
+ from .compat import urlparse
+ from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers
+ from .structures import CaseInsensitiveDict
+-from .packages.urllib3.exceptions import MaxRetryError
+-from .packages.urllib3.exceptions import TimeoutError
+-from .packages.urllib3.exceptions import SSLError as _SSLError
+-from .packages.urllib3.exceptions import HTTPError as _HTTPError
++from urllib3.exceptions import MaxRetryError
++from urllib3.exceptions import TimeoutError
++from urllib3.exceptions import SSLError as _SSLError
++from urllib3.exceptions import HTTPError as _HTTPError
+ from .cookies import extract_cookies_to_jar
+ from .exceptions import ConnectionError, Timeout, SSLError
+
+--- requests-1.0.0/requests/compat.py
++++ requests-1.0.0/requests/compat.py
+@@ -4,7 +4,7 @@
+ pythoncompat
+ """
+
+-from .packages import charade as chardet
++import charade as chardet
+
+ import sys
+
+@@ -89,7 +89,7 @@
+ import cookielib
+ from Cookie import Morsel
+ from StringIO import StringIO
+- from .packages.urllib3.packages.ordered_dict import OrderedDict
++ from urllib3.packages.ordered_dict import OrderedDict
+
+ builtin_str = str
+ bytes = str
+--- requests-1.0.0/requests/models.py
++++ requests-1.0.0/requests/models.py
+@@ -17,7 +17,7 @@
+
+ from .auth import HTTPBasicAuth, HTTPProxyAuth
+ from .cookies import cookiejar_from_dict, extract_cookies_to_jar, get_cookie_header
+-from .packages.urllib3.filepost import encode_multipart_formdata
++from urllib3.filepost import encode_multipart_formdata
+ from .exceptions import (
+ ConnectionError, HTTPError, RequestException, Timeout, TooManyRedirects,
+ URLRequired, SSLError, MissingSchema, InvalidSchema, InvalidURL)
+--- requests-1.0.0/setup.py
++++ requests-1.0.0/setup.py
+@@ -16,11 +16,6 @@
+
+ packages = [
+ 'requests',
+- 'requests.packages',
+- 'requests.packages.charade',
+- 'requests.packages.urllib3',
+- 'requests.packages.urllib3.packages',
+- 'requests.packages.urllib3.packages.ssl_match_hostname'
+ ]
+
+ requires = []