diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2020-02-25 01:27:10 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-02-25 19:09:24 +0300 |
commit | 853ff1b66f83e0d3b863a51f3b3706fb55062b71 (patch) | |
tree | 404075e59b3575118c57c7312d162171821ef273 | |
parent | 5b7e8b7003672db5a8ad06228c976fdeceeef3d5 (diff) | |
download | openbmc-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>
-rw-r--r-- | meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb | 19 |
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" |