All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Ross Burton <ross.burton@arm.com>
Cc: openembedded-core@lists.openembedded.org, nd@arm.com
Subject: Re: [OE-core] [PATCH] dbusmock: only recommend python3-pygobject
Date: Tue, 13 Jun 2023 11:03:46 +0200	[thread overview]
Message-ID: <20230613090346357c8261@mail.local> (raw)
In-Reply-To: <20230612154404.938246-1-ross.burton@arm.com>

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


      reply	other threads:[~2023-06-13  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 15:44 [PATCH] dbusmock: only recommend python3-pygobject ross.burton
2023-06-13  9:03 ` Alexandre Belloni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230613090346357c8261@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=nd@arm.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.