From 853ff1b66f83e0d3b863a51f3b3706fb55062b71 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 24 Feb 2020 16:27:10 -0600 Subject: sdbusplus: switch to generic python package ver Rather than reference "python-foo" for recipe dependencies, switch to "${PYTHON_PN}-foo" syntax, which is used throughout other example Yocto recipes to aid a simple transition from python2 to python3. This variable is set up by pythonnative -> python-dir includes already. (From meta-phosphor rev: 4cd22437b72468a9ea23443532ddcc8d5dab1b1f) Signed-off-by: Patrick Williams Change-Id: Idde7f413bc911baad48851d531ab835963cec2f7 Signed-off-by: Brad Bishop --- .../recipes-extended/sdbusplus/sdbusplus_git.bb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'meta-phosphor/recipes-extended') diff --git a/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb b/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb index 5c285f247..a54ba6e49 100644 --- a/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb +++ b/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb @@ -11,14 +11,15 @@ inherit obmc-phosphor-python-autotools DEPENDS += " \ autoconf-archive-native \ - python-inflection-native \ - python-mako-native \ - python-pyyaml-native \ + ${PYTHON_PN}-inflection-native \ + ${PYTHON_PN}-mako-native \ + ${PYTHON_PN}-pyyaml-native \ " RDEPENDS_sdbus++ += " \ - python-inflection \ - python-mako \ - python-pyyaml \ + ${PYTHON_PN} \ + ${PYTHON_PN}-inflection \ + ${PYTHON_PN}-mako \ + ${PYTHON_PN}-pyyaml \ " # sdbus++ has a handful of runtime dependencies on other python packages. @@ -31,9 +32,9 @@ RDEPENDS_sdbus++ += " \ # on sdbus++ runtime dependencies manually. DEPENDS_append_class-native = " \ - python-inflection-native \ - python-mako-native \ - python-pyyaml-native \ + ${PYTHON_PN}-inflection-native \ + ${PYTHON_PN}-mako-native \ + ${PYTHON_PN}-pyyaml-native \ " SRC_URI += "git://github.com/openbmc/sdbusplus" -- cgit v1.2.3