python3-dbusmock: only recommend python3-pygobject
PATCH v2 1/1 python3-dbusmock: only recommend python3-pygobject
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(-)
meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb +2 -1
@@ -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"
Signature · 1 line
2.34.1