summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/files')
-rw-r--r--meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index ee0a9dbb13..99c50e94cb 100644
--- a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ b/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
1From 6a5086619ee1c4bcebc7df622face11de6679255 Mon Sep 17 00:00:00 2001 1From d2633b49275b20e7acf724567fe0189aab25771e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 17 Jul 2018 10:13:38 +0800 3Date: Tue, 17 Jul 2018 10:13:38 +0800
4Subject: [PATCH] conditionally do not fetch code by easy_install 4Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -15,11 +15,11 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15 1 file changed, 5 insertions(+) 15 1 file changed, 5 insertions(+)
16 16
17diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py 17diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
18index bcbd4f5..6455afd 100644 18index 9ec83b7..7e97a07 100644
19--- a/setuptools/command/easy_install.py 19--- a/setuptools/command/easy_install.py
20+++ b/setuptools/command/easy_install.py 20+++ b/setuptools/command/easy_install.py
21@@ -653,6 +653,11 @@ class easy_install(Command): 21@@ -636,6 +636,11 @@ class easy_install(Command):
22 os.path.exists(tmpdir) and rmtree(rmtree_safe(tmpdir)) 22 os.path.exists(tmpdir) and rmtree(tmpdir)
23 23
24 def easy_install(self, spec, deps=False): 24 def easy_install(self, spec, deps=False):
25+ if os.environ.get('NO_FETCH_BUILD', None): 25+ if os.environ.get('NO_FETCH_BUILD', None):