diff mbox series

[meta-python,062/149] python3-pyusb: fix run-time dependencies

Message ID 20230531082437.10646-63-brgl@bgdev.pl
State New
Headers show
Series python3: improve run-time dependencies situation | expand

Commit Message

Bartosz Golaszewski May 31, 2023, 8:23 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the missing dependency on ctypes and drop libusb1 from RDEPENDS as
it will be already present in the rootfs thanks to being in project's
build-time dependencies.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
 meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb
index 286e9672b..abe352911 100644
--- a/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb
@@ -13,6 +13,6 @@  SRC_URI[sha256sum] = "a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d
 inherit pypi setuptools3
-RDEPENDS:${PN} += "libusb1"
+RDEPENDS:${PN} += "python3-ctypes"
 BBCLASSEXTEND = "native nativesdk"