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_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection -> host-qemu
	depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
	depends on BR2_PACKAGE_PYTHON3
	select BR2_PACKAGE_DBUS # runtime
	select BR2_PACKAGE_DBUS_PYTHON # runtime
	select BR2_PACKAGE_PYTHON_GOBJECT # runtime
	help
	  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, host gcc >= 8"
	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 || \
		!BR2_HOST_GCC_AT_LEAST_8
