Skip to contentSkip to conversation

python3: add rdepends for python3-idle

PATCH New Yu, Mingli 1 participant 1 message Jun 11, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH v2 1/1 python3: add rdepends for python3-idle

From: Mingli Yu <[email protected]>

Add rdepends for python3-idle to fix below error:

 # /usr/bin/idle3 -h
 [snip]
 _tkinter.TclError: Can't find a usable init.tcl
 [snip]
---
 meta/recipes-devtools/python/python3_3.8.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3_3.8.3.bb +1 -0
index 4367923b55..09793dade2 100644
@@ -345,6 +345,7 @@ RDEPENDS_libpython3_append_libc-glibc = " libgcc"
 RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
+RDEPENDS_${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}"
 RDEPENDS_${PN}-dev = ""
 
 RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash"
Signature · 1 line
2.24.1