From ed51c73c937bab841e60968fa46bb110c318f6ac Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 9 Jul 2021 09:38:14 +0800 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-pyusb_1.2.0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb new file mode 100644 index 0000000000..06f7c1c82b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb @@ -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" -- cgit v1.2.3-54-g00ecf