blob: a3cc48c9a4d3af19ca40c4912bfa41432c5b187f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001_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
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007Also simply disable the tk module since its not in DEPENDS.
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
9
Brad Bishop316dfdd2018-06-25 12:45:53 -040010Index: Python-3.5.3/setup.py
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011===================================================================
Brad Bishop316dfdd2018-06-25 12:45:53 -040012--- Python-3.5.3.orig/setup.py
13+++ Python-3.5.3/setup.py
14@@ -1558,10 +1558,12 @@ class PyBuildExt(build_ext):
15 self.extensions.extend(exts)
16
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017 # Call the method for detecting whether _tkinter can be compiled
Brad Bishop316dfdd2018-06-25 12:45:53 -040018- self.detect_tkinter(inc_dirs, lib_dirs)
19+ # self.detect_tkinter(inc_dirs, lib_dirs)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
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
Brad Bishop316dfdd2018-06-25 12:45:53 -040028 ## # Uncomment these lines if you want to play with xxmodule.c
29 ## ext = Extension('xx', ['xxmodule.c'])