diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch | 33 |
1 files changed, 14 insertions, 19 deletions
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 24e67b4ca1..184540e794 100644 --- a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch +++ b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fead48c8b501a8d7c3db21df2e599f90f38f11d3 Mon Sep 17 00:00:00 2001 | 1 | From ba7202700578d435b07cfdfb7b57e83185752800 Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei@gherzan.ro> | 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
3 | Date: Mon, 28 Jan 2019 15:57:54 +0000 | 3 | Date: Mon, 28 Jan 2019 15:57:54 +0000 |
4 | Subject: [PATCH] _tkinter module needs tk module along with tcl. tk is not yet | 4 | Subject: [PATCH] _tkinter module needs tk module along with tcl. tk is not yet |
@@ -11,26 +11,21 @@ Also simply disable the tk module since its not in DEPENDS. | |||
11 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 11 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
12 | 12 | ||
13 | --- | 13 | --- |
14 | setup.py | 8 +++++--- | 14 | setup.py | 4 ++-- |
15 | 1 file changed, 5 insertions(+), 3 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | 16 | ||
17 | diff --git a/setup.py b/setup.py | 17 | diff --git a/setup.py b/setup.py |
18 | index fbec00d..b7a36a6 100644 | 18 | index ab18ff0..7691258 100644 |
19 | --- a/setup.py | 19 | --- a/setup.py |
20 | +++ b/setup.py | 20 | +++ b/setup.py |
21 | @@ -1623,10 +1623,12 @@ class PyBuildExt(build_ext): | 21 | @@ -1706,8 +1706,8 @@ class PyBuildExt(build_ext): |
22 | self.extensions.extend(exts) | 22 | self.detect_decimal() |
23 | self.detect_ctypes() | ||
24 | self.detect_multiprocessing() | ||
25 | - if not self.detect_tkinter(): | ||
26 | - self.missing.append('_tkinter') | ||
27 | +# if not self.detect_tkinter(): | ||
28 | +# self.missing.append('_tkinter') | ||
29 | self.detect_uuid() | ||
23 | 30 | ||
24 | # Call the method for detecting whether _tkinter can be compiled | 31 | ## # Uncomment these lines if you want to play with xxmodule.c |
25 | - self.detect_tkinter(inc_dirs, lib_dirs) | ||
26 | + # self.detect_tkinter(inc_dirs, lib_dirs) | ||
27 | |||
28 | - if '_tkinter' not in [e.name for e in self.extensions]: | ||
29 | - missing.append('_tkinter') | ||
30 | + # tkinter module will not be avalaible as yocto | ||
31 | + # doesn't have tk integrated (yet) | ||
32 | + #if '_tkinter' not in [e.name for e in self.extensions]: | ||
33 | + # missing.append('_tkinter') | ||
34 | |||
35 | # Build the _uuid module if possible | ||
36 | uuid_incs = find_file("uuid.h", inc_dirs, ["/usr/include/uuid"]) | ||