diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch index 4d56dc89ba..1e5ab498a4 100644 --- a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch +++ b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 2b06ca797d3ccc5b195aaa04a085c44bf61d4de3 Mon Sep 17 00:00:00 2001 | 1 | From 5e603da9c01ccb828a03ea3e82d15599971f794f Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Tue, 17 Jul 2018 10:13:38 +0800 | 3 | Date: Tue, 17 Jul 2018 10:13:38 +0800 |
| 4 | Subject: [PATCH] conditionally do not fetch code by easy_install | 4 | Subject: [PATCH] conditionally do not fetch code by easy_install |
| @@ -9,17 +9,16 @@ internet by easy_install. | |||
| 9 | Upstream-Status: Inappropriate [oe specific] | 9 | Upstream-Status: Inappropriate [oe specific] |
| 10 | 10 | ||
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 12 | |||
| 13 | --- | 12 | --- |
| 14 | setuptools/command/easy_install.py | 5 +++++ | 13 | setuptools/command/easy_install.py | 5 +++++ |
| 15 | 1 file changed, 5 insertions(+) | 14 | 1 file changed, 5 insertions(+) |
| 16 | 15 | ||
| 17 | diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py | 16 | diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py |
| 18 | index 444d3b3..61e445a 100644 | 17 | index 0b8d1159..93308060 100644 |
| 19 | --- a/setuptools/command/easy_install.py | 18 | --- a/setuptools/command/easy_install.py |
| 20 | +++ b/setuptools/command/easy_install.py | 19 | +++ b/setuptools/command/easy_install.py |
| 21 | @@ -648,6 +648,11 @@ class easy_install(Command): | 20 | @@ -644,6 +644,11 @@ class easy_install(Command): |
| 22 | os.path.exists(tmpdir) and rmtree(tmpdir) | 21 | os.path.exists(tmpdir) and _rmtree(tmpdir) |
| 23 | 22 | ||
| 24 | def easy_install(self, spec, deps=False): | 23 | def easy_install(self, spec, deps=False): |
| 25 | + if os.environ.get('NO_FETCH_BUILD', None): | 24 | + if os.environ.get('NO_FETCH_BUILD', None): |
| @@ -30,3 +29,6 @@ index 444d3b3..61e445a 100644 | |||
| 30 | with self._tmpdir() as tmpdir: | 29 | with self._tmpdir() as tmpdir: |
| 31 | if not isinstance(spec, Requirement): | 30 | if not isinstance(spec, Requirement): |
| 32 | if URL_SCHEME(spec): | 31 | if URL_SCHEME(spec): |
| 32 | -- | ||
| 33 | 2.41.0 | ||
| 34 | |||
