1 |
commit: cb5cf2ce8ce40aa822738015d7c3b4e897c4788b |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 2 17:38:52 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 3 00:40:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5cf2ce |
7 |
|
8 |
dev-python/pip: remove unused patch |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/11879 |
12 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
13 |
|
14 |
dev-python/pip/files/pip-7.1.2-unbundle.patch | 34 --------------------------- |
15 |
1 file changed, 34 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pip/files/pip-7.1.2-unbundle.patch b/dev-python/pip/files/pip-7.1.2-unbundle.patch |
18 |
deleted file mode 100644 |
19 |
index 70adc20ead5..00000000000 |
20 |
--- a/dev-python/pip/files/pip-7.1.2-unbundle.patch |
21 |
+++ /dev/null |
22 |
@@ -1,34 +0,0 @@ |
23 |
- pip/_vendor/__init__.py | 13 +++++-------- |
24 |
- 1 file changed, 5 insertions(+), 8 deletions(-) |
25 |
- |
26 |
-diff --git a/pip/_vendor/__init__.py b/pip/_vendor/__init__.py |
27 |
-index ef8851d..349d022 100644 |
28 |
---- a/pip/_vendor/__init__.py |
29 |
-+++ b/pip/_vendor/__init__.py |
30 |
-@@ -14,7 +14,7 @@ import sys |
31 |
- # Downstream redistributors which have debundled our dependencies should also |
32 |
- # patch this value to be true. This will trigger the additional patching |
33 |
- # to cause things like "six" to be available as pip. |
34 |
--DEBUNDLED = False |
35 |
-+DEBUNDLED = True |
36 |
- |
37 |
- # By default, look in this directory for a bunch of .whl files which we will |
38 |
- # add to the beginning of sys.path before attempting to import anything. This |
39 |
-@@ -29,13 +29,10 @@ WHEEL_DIR = os.path.abspath(os.path.dirname(__file__)) |
40 |
- def vendored(modulename): |
41 |
- vendored_name = "{0}.{1}".format(__name__, modulename) |
42 |
- |
43 |
-- try: |
44 |
-- __import__(vendored_name, globals(), locals(), level=0) |
45 |
-- except ImportError: |
46 |
-- __import__(modulename, globals(), locals(), level=0) |
47 |
-- sys.modules[vendored_name] = sys.modules[modulename] |
48 |
-- base, head = vendored_name.rsplit(".", 1) |
49 |
-- setattr(sys.modules[base], head, sys.modules[modulename]) |
50 |
-+ __import__(modulename, globals(), locals(), level=0) |
51 |
-+ sys.modules[vendored_name] = sys.modules[modulename] |
52 |
-+ base, head = vendored_name.rsplit(".", 1) |
53 |
-+ setattr(sys.modules[base], head, sys.modules[modulename]) |
54 |
- |
55 |
- |
56 |
- # If we're operating in a debundled setup, then we want to go ahead and trigger |