From 99197f671cfffca7c201115a70265575b34b94d4 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sat, 26 Dec 2015 13:57:02 +0100 Subject: recipes: stop using base_contains The base_contains function is deprecated and we ought to use bb.utils.contains instead. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-devtools/python/python_2.7.9.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-devtools') diff --git a/recipes-devtools/python/python_2.7.9.bbappend b/recipes-devtools/python/python_2.7.9.bbappend index ff0071f..64d3787 100644 --- a/recipes-devtools/python/python_2.7.9.bbappend +++ b/recipes-devtools/python/python_2.7.9.bbappend @@ -7,9 +7,9 @@ PACKAGECONFIG ?= "" PACKAGECONFIG[tkinter] = ",,tk" PACKAGECONFIG_remove_class-native = "tkinter" PACKAGECONFIG_remove_class-nativesdk = "tkinter" -RDEPENDS_${PN}-tkinter_append += "${@base_contains('PACKAGECONFIG', 'tkinter', 'tcl tk', '', d)}" +RDEPENDS_${PN}-tkinter_append += "${@bb.utils.contains('PACKAGECONFIG', 'tkinter', 'tcl tk', '', d)}" SRC_URI += " \ - ${@base_contains('PACKAGECONFIG', 'tkinter', '', 'file://dont_build_tkinter.patch', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'tkinter', '', 'file://dont_build_tkinter.patch', d)} \ " python __anonymous() { if not 'openembedded-layer' in d.getVar('BBFILE_COLLECTIONS'): -- cgit v1.2.3