summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-03-24 01:45:46 +0000
committerMike Gilbert <floppym@gentoo.org>2013-03-24 01:45:46 +0000
commit238d68c1431e2c8d2224d1e88bcad95ea72ffa3b (patch)
tree421c9b31a862f43566380e6985073e75faed6336 /dev-python/requests/files
parentRemove sandbox workaround. (diff)
downloadgentoo-2-238d68c1431e2c8d2224d1e88bcad95ea72ffa3b.tar.gz
gentoo-2-238d68c1431e2c8d2224d1e88bcad95ea72ffa3b.tar.bz2
gentoo-2-238d68c1431e2c8d2224d1e88bcad95ea72ffa3b.zip
Remove sandbox workaround.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/requests/files')
-rw-r--r--dev-python/requests/files/requests-1.1.0-workaround-sandbox-bug.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/requests/files/requests-1.1.0-workaround-sandbox-bug.patch b/dev-python/requests/files/requests-1.1.0-workaround-sandbox-bug.patch
deleted file mode 100644
index d8d895a67025..000000000000
--- a/dev-python/requests/files/requests-1.1.0-workaround-sandbox-bug.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/requests/packages/urllib3/filepost.py b/requests/packages/urllib3/filepost.py
-index 8d900bd..5febf44 100644
---- a/requests/packages/urllib3/filepost.py
-+++ b/requests/packages/urllib3/filepost.py
-@@ -7,7 +7,17 @@
- import codecs
- import mimetypes
-
--from uuid import uuid4
-+from os import getenv
-+from sys import hexversion
-+
-+# this is needed to work around Gentoo bug #364877
-+if hexversion >= 0x03030000 and getenv('SANDBOX_ON') == '1':
-+ from unittest.mock import patch
-+ with patch('subprocess.Popen'):
-+ from uuid import uuid4
-+else:
-+ from uuid import uuid4
-+
- from io import BytesIO
-
- from .packages import six