From de6730faf15f84376c26250ce1d0a7ebb208e495 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Tue, 30 Apr 2019 14:56:55 -0700 Subject: [PATCH] DRAFT python3-mock_2.0.0.bb: Rename from python-mock_2.0.0.bb; convert to Python 3 --- ...on-mock_2.0.0.bb => python3-mock_2.0.0.bb} | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) rename recipes-devtools/python/{python-mock_2.0.0.bb => python3-mock_2.0.0.bb} (51%) diff --git a/recipes-devtools/python/python-mock_2.0.0.bb b/recipes-devtools/python/python3-mock_2.0.0.bb similarity index 51% rename from recipes-devtools/python/python-mock_2.0.0.bb rename to recipes-devtools/python/python3-mock_2.0.0.bb index 210502f..a5455c8 100644 --- a/recipes-devtools/python/python-mock_2.0.0.bb +++ b/recipes-devtools/python/python3-mock_2.0.0.bb @@ -5,18 +5,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" SRC_URI[md5sum] = "0febfafd14330c9dcaa40de2d82d40ad" SRC_URI[sha256sum] = "b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba" -inherit pypi setuptools +inherit pypi setuptools3 DEPENDS += " \ - python-pbr-native" + ${PYTHON_PN}-pbr-native" +# XXX If ever need to make work for Python 2, will need to add python-funcsigs to this list: RDEPENDS_${PN} += " \ - python-prettytable \ - python-cmd2 \ - python-pyparsing \ - python-mccabe \ - python-pep8 \ - python-pyflakes \ - python-pbr \ - python-funcsigs \ + ${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing \ + ${PYTHON_PN}-mccabe \ + ${PYTHON_PN}-pep8 \ + ${PYTHON_PN}-pyflakes \ + ${PYTHON_PN}-pbr \ "