summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.5.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.5.6.bb')
-rw-r--r--meta/recipes-devtools/python/python3_3.5.6.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.6.bb b/meta/recipes-devtools/python/python3_3.5.6.bb
index 5408e3f9fc..25c47b6192 100644
--- a/meta/recipes-devtools/python/python3_3.5.6.bb
+++ b/meta/recipes-devtools/python/python3_3.5.6.bb
@@ -21,7 +21,7 @@ ${DISTRO_SRC_URI} \
21 21
22SRC_URI += "\ 22SRC_URI += "\
23 file://03-fix-tkinter-detection.patch \ 23 file://03-fix-tkinter-detection.patch \
24 file://avoid_warning_about_tkinter.patch \ 24 ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', 'file://avoid_warning_about_tkinter.patch', d)} \
25 file://cgi_py.patch \ 25 file://cgi_py.patch \
26 file://host_include_contamination.patch \ 26 file://host_include_contamination.patch \
27 file://python-3.3-multilib.patch \ 27 file://python-3.3-multilib.patch \
@@ -82,6 +82,7 @@ PACKAGECONFIG ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-userm
82PACKAGECONFIG[readline] = ",,readline" 82PACKAGECONFIG[readline] = ",,readline"
83# Use profile guided optimisation by running PyBench inside qemu-user 83# Use profile guided optimisation by running PyBench inside qemu-user
84PACKAGECONFIG[pgo] = "--enable-optimizations" 84PACKAGECONFIG[pgo] = "--enable-optimizations"
85PACKAGECONFIG[tk] = ",,tk"
85 86
86do_configure_append() { 87do_configure_append() {
87 rm -f ${S}/Makefile.orig 88 rm -f ${S}/Makefile.orig
@@ -246,7 +247,7 @@ PACKAGES += "${PN}-man"
246FILES_${PN}-man = "${datadir}/man" 247FILES_${PN}-man = "${datadir}/man"
247 248
248RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2" 249RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2"
249 250RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk', '', d)}"
250RDEPENDS_${PN}-dev = "" 251RDEPENDS_${PN}-dev = ""
251 252
252BBCLASSEXTEND = "nativesdk" 253BBCLASSEXTEND = "nativesdk"