libiio: Make libiio-python3 depend on python3-core
*ping*
//Peter
Quoted 37 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 17 september 2021 21:12
To: [email protected]
Subject: [oe] [meta-oe][hardknott][PATCH] libiio: Make libiio-python3 depend on python3-coreInheriting setuptools3 incorrectly adds the dependency on python3-core to libiio instead of to libiio-python3 where it belongs.
Signed-off-by Peter Kjellerstedt <[email protected]>--- meta-oe/recipes-support/libiio/libiio_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)meta- renamed from meta-oe/recipes-support/libiio/libiio_git.bb +0
-0oe/recipes-support/libiio/libiio_git.bb
indexd7e4cc60a..cfd9746bd100644meta-oe/recipes-support/libiio/libiio_git.bb +0
-0@@ -37,7 +37,10 @@ PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF"
PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}"
-RDEPENDS_${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-ctypes ${PYTHON_PN}- stringold"
+# Inheriting setuptools3 incorrectly adds the dependency on ${PYTHON_PN}- coremeta-oe/recipes-support/libiio/libiio_git.bb +3
-0+# to ${PN} instead of to ${PN}-${PYTHON_PN} where it belongs. +RDEPENDS_${PN}_remove = "${PYTHON_PN}-core" +RDEPENDS_${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-core ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold"
FILES_${PN}-iiod = " \ ${sbindir}/iiod \