summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch14
-rw-r--r--meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch14
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch b/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch
index 208c57c822..3347321fde 100644
--- a/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch
+++ b/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch
@@ -4,6 +4,7 @@ Avoid a warning by not adding this module to missing variable.
4 4
5Upstream-Status: Inappropriate [distribution] 5Upstream-Status: Inappropriate [distribution]
6 6
7Also simply disable the tk module since its not in DEPENDS.
7Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 8Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
8 9
9Index: Python-2.7.2/setup.py 10Index: Python-2.7.2/setup.py
@@ -23,3 +24,16 @@ Index: Python-2.7.2/setup.py
23 24
24 return missing 25 return missing
25 26
27diff --git Python-3.5.1.orig/setup.py Python-3.5.1/setup.py
28index b4633b9..d7588c0 100644
29--- Python-3.5.1.orig/setup.py
30+++ Python-3.5.1/setup.py
31@@ -1536,7 +1536,7 @@ class PyBuildExt(build_ext):
32 self.extensions.extend(exts)
33
34 # Call the method for detecting whether _tkinter can be compiled
35- self.detect_tkinter(inc_dirs, lib_dirs)
36+ # self.detect_tkinter(inc_dirs, lib_dirs)
37
38 # tkinter module will not be avalaible as yocto
39 # doesn't have tk integrated (yet)
diff --git a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
index 208c57c822..3347321fde 100644
--- a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
+++ b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
@@ -4,6 +4,7 @@ Avoid a warning by not adding this module to missing variable.
4 4
5Upstream-Status: Inappropriate [distribution] 5Upstream-Status: Inappropriate [distribution]
6 6
7Also simply disable the tk module since its not in DEPENDS.
7Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 8Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
8 9
9Index: Python-2.7.2/setup.py 10Index: Python-2.7.2/setup.py
@@ -23,3 +24,16 @@ Index: Python-2.7.2/setup.py
23 24
24 return missing 25 return missing
25 26
27diff --git Python-3.5.1.orig/setup.py Python-3.5.1/setup.py
28index b4633b9..d7588c0 100644
29--- Python-3.5.1.orig/setup.py
30+++ Python-3.5.1/setup.py
31@@ -1536,7 +1536,7 @@ class PyBuildExt(build_ext):
32 self.extensions.extend(exts)
33
34 # Call the method for detecting whether _tkinter can be compiled
35- self.detect_tkinter(inc_dirs, lib_dirs)
36+ # self.detect_tkinter(inc_dirs, lib_dirs)
37
38 # tkinter module will not be avalaible as yocto
39 # doesn't have tk integrated (yet)