mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-05 18:48:42 +00:00
-Use update-alternatives class to resolve conflicts with python3-pywbem. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
521 B
BlitzBasic
21 lines
521 B
BlitzBasic
require python-pywbem.inc
|
|
inherit setuptools update-alternatives
|
|
|
|
DEPENDS += " \
|
|
${PYTHON_PN}-m2crypto-native \
|
|
${PYTHON_PN}-typing-native \
|
|
"
|
|
|
|
RDEPENDS_${PN}_class-target += "\
|
|
${PYTHON_PN}-argparse \
|
|
${PYTHON_PN}-m2crypto \
|
|
${PYTHON_PN}-subprocess \
|
|
"
|
|
|
|
ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli"
|
|
ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler"
|
|
ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
|
|
ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
|
|
|
|
ALTERNATIVE_PRIORITY = "30"
|