From 56fe916ab5ffab766d52fc40f27fc67c1dad1f0b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Dec 2018 16:26:11 -0800 Subject: libgpiod: Rrecommend python3 only for PN-python package Fixes overdependency on PN Signed-off-by: Khem Raj --- meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb index 30289b983b..dd080ff9d2 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb @@ -7,10 +7,10 @@ SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba58 PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" -PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core" +PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python," inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} PACKAGES =+ "${PN}-python" FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" -RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" +RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" -- cgit 1.2.3-korg