config BR2_PACKAGE_PYTHON_PYUSB
	bool "python-pyusb"
	depends on BR2_PACKAGE_PYTHON3
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
	select BR2_PACKAGE_LIBUSB
	help
	  The PyUSB module provides easy access to the Universal
	  Serial Bus (USB) from Python.

	  http://sourceforge.net/apps/trac/pyusb/

comment "python-pyusb needs a toolchain w/ threads, gcc >= 4.9"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
