Re: [OE-core] [PATCH] python3-dbusmock: Add native recipe

2022-01-25 Thread Khem Raj
On Tue, Jan 25, 2022 at 4:08 AM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Tue, 2022-01-25 at 07:25 +0100, Markus Volk wrote:
> > The python3-dbusmock dependency could be dropped if folks is build with
> > EXTRA_OEMESON += "-Dtests=false"
>
> What you can often do is make it a PACKAGECONFIG and then change the
> PACKAGECONFIG for the native version of the recipe to something more
> minimal?


Still having a native variant will be required to enable them so this patch
should definitely help in that case

>
>
> Cheers,
>
> Richard
>
>
> 
>
>

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



Re: [OE-core] [PATCH] python3-dbusmock: Add native recipe

2022-01-25 Thread Richard Purdie
On Tue, 2022-01-25 at 07:25 +0100, Markus Volk wrote:
> The python3-dbusmock dependency could be dropped if folks is build with
> EXTRA_OEMESON += "-Dtests=false"

What you can often do is make it a PACKAGECONFIG and then change the
PACKAGECONFIG for the native version of the recipe to something more minimal?

Cheers,

Richard


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



Re: [OE-core] [PATCH] python3-dbusmock: Add native recipe

2022-01-24 Thread Markus Volk

The python3-dbusmock dependency could be dropped if folks is build with

EXTRA_OEMESON += "-Dtests=false"

Am 25.01.22 um 06:53 schrieb Markus Volk:


https://gitlab.gnome.org/GNOME/folks/-/blob/master/meson.build#L112

it's needed for the bluez test

Am 24.01.22 um 20:38 schrieb Ross Burton:

Seems like a workaround for a bad dependency.  Can this be disabled in folks?

Ross

On Mon, 24 Jan 2022 at 18:12, Khem Raj  wrote:

Needed by apps like folks

Signed-off-by: Khem Raj
---
  meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb 
b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
index e64e343a1e0..4a857eaf5ae 100644
--- a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
@@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\
  ${PYTHON_PN}-unittest \
  ${PYTHON_PN}-xml \
  "
+
+BBCLASSEXTEND = "native"
--
2.34.1










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



Re: [OE-core] [PATCH] python3-dbusmock: Add native recipe

2022-01-24 Thread Markus Volk

https://gitlab.gnome.org/GNOME/folks/-/blob/master/meson.build#L112

it's needed for the bluez test

Am 24.01.22 um 20:38 schrieb Ross Burton:

Seems like a workaround for a bad dependency.  Can this be disabled in folks?

Ross

On Mon, 24 Jan 2022 at 18:12, Khem Raj  wrote:

Needed by apps like folks

Signed-off-by: Khem Raj 
---
  meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb 
b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
index e64e343a1e0..4a857eaf5ae 100644
--- a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
@@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\
  ${PYTHON_PN}-unittest \
  ${PYTHON_PN}-xml \
  "
+
+BBCLASSEXTEND = "native"
--
2.34.1








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



Re: [OE-core] [PATCH] python3-dbusmock: Add native recipe

2022-01-24 Thread Ross Burton
Seems like a workaround for a bad dependency.  Can this be disabled in folks?

Ross

On Mon, 24 Jan 2022 at 18:12, Khem Raj  wrote:
>
> Needed by apps like folks
>
> Signed-off-by: Khem Raj 
> ---
>  meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb 
> b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
> index e64e343a1e0..4a857eaf5ae 100644
> --- a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
> +++ b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb
> @@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\
>  ${PYTHON_PN}-unittest \
>  ${PYTHON_PN}-xml \
>  "
> +
> +BBCLASSEXTEND = "native"
> --
> 2.34.1
>
>
> 
>

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