Skip to contentSkip to conversation

python3-dbusmock: Add native recipe

PATCH In review Khem Raj 4 participants 6 messages Jan 24, 2022 – Jan 25, 2022 1 message not in the archive

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-dbusmock: Add native recipe

Needed by apps like folks

---
 meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +2 -0
index e64e343a1e0..4a857eaf5ae 100644
@@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\
     ${PYTHON_PN}-unittest \
     ${PYTHON_PN}-xml \
     "
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
#1 lore raw

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

Ross

Quoted 30 lines · Khem Raj

Needed by apps like folks

---
 meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +2 -1
index e64e343a1e0..4a857eaf5ae 100644
@@ -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 (#160891): https://lists.openembedded.org/g/openembedded-core/message/160891
Mute This Topic: https://lists.openembedded.org/mt/88653359/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

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:

Quoted 37 lines

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

Ross

Quoted 32 lines · Khem Raj

Needed by apps like folks

---
  meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +2 -1
index e64e343a1e0..4a857eaf5ae 100644
@@ -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/3618223
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

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:

Quoted 44 lines

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:

Quoted 21 lines

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

Ross

Quoted 16 lines · Khem Raj

Needed by apps like folks

---
  meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +1 -0
index e64e343a1e0..4a857eaf5ae 100644
@@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\
      ${PYTHON_PN}-unittest \
      ${PYTHON_PN}-xml \
      "
+
Quoted 8 lines
Quoted 8 lines
meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +1 -1
+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/3618223
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 2 lines · Markus Volk

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

author
#6 lore raw
Quoted 7 lines · Richard Purdie
Quoted 2 lines · Markus Volk

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

Quoted 18 lines

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/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-