All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][hardknott][PATCH] libiio: Make libiio-python3 depend on python3-core
@ 2021-09-17 19:11 Peter Kjellerstedt
  2021-09-17 20:10 ` [oe] " Armin Kuster
       [not found] ` <16A5B50193EFFE17.25470@lists.openembedded.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Kjellerstedt @ 2021-09-17 19:11 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index d7e4cc60a..cfd9746bd 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -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}-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 \

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-02 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <16A5B1C70FCAE87F.4591@lists.openembedded.org>
2021-10-02 19:47 ` [oe] [meta-oe][hardknott][PATCH] libiio: Make libiio-python3 depend on python3-core Peter Kjellerstedt
2021-09-17 19:11 Peter Kjellerstedt
2021-09-17 20:10 ` [oe] " Armin Kuster
     [not found] ` <16A5B50193EFFE17.25470@lists.openembedded.org>
2021-09-17 20:11   ` Armin Kuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.