mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
42e7e643c7
commit
d11af153b7
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user