summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch')
-rw-r--r--meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch29
1 files changed, 0 insertions, 29 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
deleted file mode 100644
index 287095f615..0000000000
--- a/meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1_tkinter module needs tk module along with tcl. tk is not yet integrated
2in yocto so we skip the check for this module.
3Avoid a warning by not adding this module to missing variable.
4
5Upstream-Status: Inappropriate [distribution]
6
7Also simply disable the tk module since its not in DEPENDS.
8Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
9
10Index: Python-2.7.13/setup.py
11===================================================================
12--- Python-2.7.13.orig/setup.py
13+++ Python-2.7.13/setup.py
14@@ -1783,10 +1783,12 @@ class PyBuildExt(build_ext):
15 self.extensions.extend(exts)
16
17 # Call the method for detecting whether _tkinter can be compiled
18- self.detect_tkinter(inc_dirs, lib_dirs)
19+ # self.detect_tkinter(inc_dirs, lib_dirs)
20
21- if '_tkinter' not in [e.name for e in self.extensions]:
22- missing.append('_tkinter')
23+ # tkinter module will not be avalaible as yocto
24+ # doesn't have tk integrated (yet)
25+ #if '_tkinter' not in [e.name for e in self.extensions]:
26+ # missing.append('_tkinter')
27
28 ## # Uncomment these lines if you want to play with xxmodule.c
29 ## ext = Extension('xx', ['xxmodule.c'])