summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-02-25 01:27:10 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2020-02-25 19:09:24 +0300
commit853ff1b66f83e0d3b863a51f3b3706fb55062b71 (patch)
tree404075e59b3575118c57c7312d162171821ef273 /meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb
parent5b7e8b7003672db5a8ad06228c976fdeceeef3d5 (diff)
downloadopenbmc-853ff1b66f83e0d3b863a51f3b3706fb55062b71.tar.xz
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 <patrick@stwcx.xyz> Change-Id: Idde7f413bc911baad48851d531ab835963cec2f7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb')
-rw-r--r--meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb19
1 files changed, 10 insertions, 9 deletions
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"