summaryrefslogtreecommitdiff
path: root/dev-python/requests/files/requests-2.2.0-system-chardet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/requests/files/requests-2.2.0-system-chardet.patch')
-rw-r--r--dev-python/requests/files/requests-2.2.0-system-chardet.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/requests/files/requests-2.2.0-system-chardet.patch b/dev-python/requests/files/requests-2.2.0-system-chardet.patch
new file mode 100644
index 00000000000..18fc7a992bf
--- /dev/null
+++ b/dev-python/requests/files/requests-2.2.0-system-chardet.patch
@@ -0,0 +1,21 @@
+--- requests-2.2.0/requests/compat.py
++++ requests-2.2.0/requests/compat.py
+@@ -4,7 +4,7 @@
+ pythoncompat
+ """
+
+-from .packages import chardet
++import chardet
+
+ import sys
+
+--- requests-2.2.0/setup.py
++++ requests-2.2.0/setup.py
+@@ -17,7 +17,6 @@
+ packages = [
+ 'requests',
+ 'requests.packages',
+- 'requests.packages.chardet',
+ 'requests.packages.urllib3',
+ 'requests.packages.urllib3.packages',
+ 'requests.packages.urllib3.contrib',