diff options
author | Ross Burton <ross.burton@arm.com> | 2023-06-20 13:04:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-21 18:38:25 +0100 |
commit | db67eaf59435c529893871586ed4156c34725e90 (patch) | |
tree | 8db3212e56c7385cd30385ceec7f45d6be83b878 | |
parent | 0a1c0f1396b059cc794721764f6bf87d61ca92cf (diff) | |
download | poky-db67eaf59435c529893871586ed4156c34725e90.tar.gz |
python3-dbusmock: only recommend python3-pygobject
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.
(From OE-Core rev: 943d438e2ebce5e76e03dd60ed78acdf9059a10a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 32a43e00b9..64e0ae8811 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" | |||
13 | 13 | ||
14 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
15 | ${PYTHON_PN}-dbus \ | 15 | ${PYTHON_PN}-dbus \ |
16 | ${PYTHON_PN}-pygobject \ | ||
17 | ${PYTHON_PN}-unittest \ | 16 | ${PYTHON_PN}-unittest \ |
18 | ${PYTHON_PN}-xml \ | 17 | ${PYTHON_PN}-xml \ |
19 | " | 18 | " |
20 | 19 | ||
20 | RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}${PYTHON_PN}-pygobject', '', d)}" | ||
21 | |||
21 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |