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 | |
| 10 | Index: Python-2.7.2/setup.py |
| 11 | =================================================================== |
| 12 | --- Python-2.7.2.orig/setup.py 2012-04-05 23:18:38.500136647 +0300 |
| 13 | +++ Python-2.7.2/setup.py 2012-04-05 23:19:35.888134969 +0300 |
| 14 | @@ -1634,8 +1634,10 @@ |
| 15 | # Call the method for detecting whether _tkinter can be compiled |
| 16 | self.detect_tkinter(inc_dirs, lib_dirs) |
| 17 | |
| 18 | - if '_tkinter' not in [e.name for e in self.extensions]: |
| 19 | - missing.append('_tkinter') |
| 20 | + # tkinter module will not be avalaible as yocto |
| 21 | + # doesn't have tk integrated (yet) |
| 22 | + #if '_tkinter' not in [e.name for e in self.extensions]: |
| 23 | + # missing.append('_tkinter') |
| 24 | |
| 25 | return missing |
| 26 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 27 | diff --git Python-3.5.1.orig/setup.py Python-3.5.1/setup.py |
| 28 | index 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) |