* [PATCH] dbusmock: only recommend python3-pygobject
@ 2023-06-12 15:44 ross.burton
2023-06-13 9:03 ` [OE-core] " Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: ross.burton @ 2023-06-12 15:44 UTC (permalink / raw)
To: openembedded-core; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
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 <ross.burton@arm.com>
---
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..0c6db336892 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', '${PYTHON_PN}-pygobject', '', d)}"
+
BBCLASSEXTEND = "native"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] dbusmock: only recommend python3-pygobject
2023-06-12 15:44 [PATCH] dbusmock: only recommend python3-pygobject ross.burton
@ 2023-06-13 9:03 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2023-06-13 9:03 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core, nd
This caused:
WARNING: lib32-python3-dbusmock-0.29.0-r0 do_package: QA Issue: lib32-python3-dbusmock package lib32-python3-dbusmock - suspicious values 'python3-pygobject' in RRECOMMENDS
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/4650/steps/12/logs/warnings
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/7176/steps/11/logs/warnings
On 12/06/2023 16:44:04+0100, Ross Burton wrote:
> From: Ross Burton <ross.burton@arm.com>
>
> 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 <ross.burton@arm.com>
> ---
> 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..0c6db336892 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', '${PYTHON_PN}-pygobject', '', d)}"
> +
> BBCLASSEXTEND = "native"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#182678): https://lists.openembedded.org/g/openembedded-core/message/182678
> Mute This Topic: https://lists.openembedded.org/mt/99486101/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-13 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12 15:44 [PATCH] dbusmock: only recommend python3-pygobject ross.burton
2023-06-13 9:03 ` [OE-core] " Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox