kumquat-buildroot/package/python-libusb1/Config.in
Fabrice Fontaine bfdc91cac0 package/python-libusb1: needs python3
python2 support has been dropped since version 1.10.0 and
69fd5a3ed2
resulting in the following build failure since bump to version 2.0.1 in
commit 6703b94f24:

Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    from html.parser import HTMLParser
ImportError: No module named html.parser

Fixes:
 - http://autobuild.buildroot.org/results/fe011ccb7eac1be9762919f9feda35114e752d8a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-10-25 22:17:51 +02:00

16 lines
485 B
Plaintext

config BR2_PACKAGE_PYTHON_LIBUSB1
bool "python-libusb1"
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
Pure-python wrapper for libusb-1.0.
http://github.com/vpelletier/python-libusb1
comment "python-libusb1 needs a toolchain w/ threads, gcc >= 4.9"
depends on BR2_PACKAGE_PYTHON3
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9