python3-pyusb: upgrade 1.1.1 -> 1.2.0

Added:

core: implement Device.__eq__() (#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365)
libusb0: implement is_kernel_driver_active() for Mac OS (#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR #364)
control: fix undefined USBError (#372)
tests: fix legacy/hardware tests for Python 3.9 (#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
zangrc
2021-07-09 09:38:14 +08:00
committed by Khem Raj
parent 0412a4befc
commit ed51c73c93

View File

@@ -0,0 +1,16 @@
SUMMARY = "PyUSB provides USB access on the Python language"
HOMEPAGE = "http://pyusb.sourceforge.net/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"
DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"
RDEPENDS_${PN} += " \
python3-logging \
"
SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc"
inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk"