From ed51c73c937bab841e60968fa46bb110c318f6ac Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 9 Jul 2021 09:38:14 +0800 Subject: [PATCH] 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 --- .../{python3-pyusb_1.1.1.bb => python3-pyusb_1.2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pyusb_1.1.1.bb => python3-pyusb_1.2.0.bb} (70%) diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb similarity index 70% rename from meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb rename to meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb index a8c7031b6..06f7c1c82 100644 --- a/meta-python/recipes-devtools/python/python3-pyusb_1.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb @@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905" DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native" -SRC_URI[sha256sum] = "7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38" +RDEPENDS_${PN} += " \ + python3-logging \ +" + +SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc" inherit pypi setuptools3