All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/python-bluezero: add recursive dependencies
@ 2021-05-21  9:12 Arnout Vandecappelle
  2021-06-07 21:17 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-05-21  9:12 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=e2bcf6605a540ff370479dffe94cd26ee6df2c6e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

python-bluezero selects python-gobject but fails to include its arch and
toolchain dependencies. Add them now, as well as the corresponding
comment.

dbus-python also has some dependencies, but all of them are covered by
the python3 dependency, so don't bother with those.

Fixes: 8bdc5e7c4d975193b1e18999ed840507cea63bd6

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/python-bluezero/Config.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/python-bluezero/Config.in b/package/python-bluezero/Config.in
index 3a9e5df6b7..7126b3ca50 100644
--- a/package/python-bluezero/Config.in
+++ b/package/python-bluezero/Config.in
@@ -1,5 +1,8 @@
 config BR2_PACKAGE_PYTHON_BLUEZERO
 	bool "python-bluezero"
+	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
+	depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
 	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_DBUS_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON_GOBJECT # runtime
@@ -7,3 +10,9 @@ config BR2_PACKAGE_PYTHON_BLUEZERO
 	  Python library for Bluetooth Low Energy (BLE) on Linux.
 
 	  https://github.com/ukBaz/python-bluezero
+
+comment "python-bluezero needs a glibc toolchain, gcc >= 4.9"
+	depends on BR2_PACKAGE_PYTHON3
+	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
+	depends on !BR2_TOOLCHAIN_USES_GLIBC || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [git commit] package/python-bluezero: add recursive dependencies
  2021-05-21  9:12 [Buildroot] [git commit] package/python-bluezero: add recursive dependencies Arnout Vandecappelle
@ 2021-06-07 21:17 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-06-07 21:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=e2bcf6605a540ff370479dffe94cd26ee6df2c6e
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > python-bluezero selects python-gobject but fails to include its arch and
 > toolchain dependencies. Add them now, as well as the corresponding
 > comment.

 > dbus-python also has some dependencies, but all of them are covered by
 > the python3 dependency, so don't bother with those.

 > Fixes: 8bdc5e7c4d975193b1e18999ed840507cea63bd6

 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Committed to 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-07 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21  9:12 [Buildroot] [git commit] package/python-bluezero: add recursive dependencies Arnout Vandecappelle
2021-06-07 21:17 ` Peter Korsgaard

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.