From: Ross Burton <[email protected]> dbusmock doesn't actually hard-depend on pygobject, some of the templates use it but it isn't mandatory.
Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled. Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb b/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb index 32a43e00b99..64e0ae88113 100644 --- a/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb +++ b/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb @@ -13,9 +13,10 @@ DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\ ${PYTHON_PN}-dbus \ - ${PYTHON_PN}-pygobject \ ${PYTHON_PN}-unittest \ ${PYTHON_PN}-xml \ " +RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}${PYTHON_PN}-pygobject', '', d)}" + BBCLASSEXTEND = "native" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183132): https://lists.openembedded.org/g/openembedded-core/message/183132 Mute This Topic: https://lists.openembedded.org/mt/99642485/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
