aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-09-17 21:06:45 +0200
committerKhem Raj <raj.khem@gmail.com>2021-09-20 08:48:41 -0700
commit4118d0eb23bcddae6d34376ff1ed4a61cfa570f3 (patch)
treea23742f7d05be4b45ea69e854f381ead52caf5e6
parentaee2f10638f1407e874970f540c2427a6dc8e6dc (diff)
downloadmeta-openembedded-4118d0eb23bcddae6d34376ff1ed4a61cfa570f3.tar.gz
meta-openembedded-4118d0eb23bcddae6d34376ff1ed4a61cfa570f3.tar.bz2
meta-openembedded-4118d0eb23bcddae6d34376ff1ed4a61cfa570f3.zip
libiio: Make libiio-python3 depend on python3-core
Inheriting setuptools3 incorrectly adds the dependency on python3-core to libiio instead of to libiio-python3 where it belongs. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libiio/libiio_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 748633d9d..6ac534a28 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -38,7 +38,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}-core
+# 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 \