Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | _tkinter module needs tk module along with tcl. tk is not yet integrated |
| 2 | in yocto so we skip the check for this module. |
| 3 | Avoid a warning by not adding this module to missing variable. |
| 4 | |
| 5 | Upstream-Status: Inappropriate [distribution] |
| 6 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | Also simply disable the tk module since its not in DEPENDS. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
| 9 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | Index: Python-3.5.3/setup.py |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | =================================================================== |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | --- 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | # Call the method for detecting whether _tkinter can be compiled |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 18 | - self.detect_tkinter(inc_dirs, lib_dirs) |
| 19 | + # self.detect_tkinter(inc_dirs, lib_dirs) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 28 | ## # Uncomment these lines if you want to play with xxmodule.c |
| 29 | ## ext = Extension('xx', ['xxmodule.c']) |