Re: [poky] [PATCH] python3-bcrypt: allow building native package

Richard Purdie <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <deaee499fe278f479d0e1583426e4b2f62389d32.camel@linuxfoundation.org>
On Tue, 2024-02-27 at 11:15 +0100, Andreas Mützel wrote:
> The native and nativesdk variants of this package build fine, but the
> corresponding BBCLASSEXTENDS was missing. Add it.
> 
> Signed-off-by: Andreas Mützel <[email protected]>
> ---
>  meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
> b/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
> index 8328594bad..72216c39c2 100644
> --- a/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
> +++ b/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
> @@ -34,3 +34,5 @@ RDEPENDS:${PN}:class-target += "\
>      python3-shell \
>      python3-six \
>  "
> +
> +BBCLASSEXTEND = "native nativesdk"

As well as sending to the correct list, could you add a bit more
justification/information about what needs this?

Adding these variants isn't "free" as it has parsing and maintenance
overhead so we try not to add this unless we need to.

Cheers,

Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.