On 7 Jun 2023, at 07:55, Zoltan Boszormenyi via lists.openembedded.org 
<zboszor=gmail....@lists.openembedded.org> wrote:
> +# Filter out meson_do_qa_configure from do_configure[postfuncs]
> +DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
> +DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
> +do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is 
> None else d.getVar('DOCONFIGUREPOSTFUNCS') }"

A neater solution would be to just stub out meson_do_qa_configure in this class:

meson_do_qa_configure() { : }

> +# This prevents the meson error:
> +# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick 
> one.
> +MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"

If mesonpy ever switches to —buildtype then this will break, right?  Might be 
better to patch mesonpy instead.

> +python_mesonpy_do_bootstrap_install () {
> +    python_pep517_do_bootstrap_install
> +}

This looks redundant and nothing calls it, remove.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103173): 
https://lists.openembedded.org/g/openembedded-devel/message/103173
Mute This Topic: https://lists.openembedded.org/mt/99379800/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to