diff options
| -rw-r--r-- | meta/recipes-devtools/python/python/avoid_warning_about_tkinter.patch | 14 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch | 14 |
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 | ||
| 5 | Upstream-Status: Inappropriate [distribution] | 5 | Upstream-Status: Inappropriate [distribution] |
| 6 | 6 | ||
| 7 | Also simply disable the tk module since its not in DEPENDS. | ||
| 7 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 8 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
| 8 | 9 | ||
| 9 | Index: Python-2.7.2/setup.py | 10 | Index: 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 | ||
| 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) | ||
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 | ||
| 5 | Upstream-Status: Inappropriate [distribution] | 5 | Upstream-Status: Inappropriate [distribution] |
| 6 | 6 | ||
| 7 | Also simply disable the tk module since its not in DEPENDS. | ||
| 7 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 8 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
| 8 | 9 | ||
| 9 | Index: Python-2.7.2/setup.py | 10 | Index: 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 | ||
| 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) | ||
