meta-python: drop ${PYTHON_PN}

python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling
2024-02-19 20:10:24 -08:00
committed by Khem Raj
parent 16935136bd
commit 94c20e1ef4
231 changed files with 846 additions and 846 deletions

View File

@@ -9,7 +9,7 @@ inherit pypi setuptools3
SRC_URI[sha256sum] = "2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f"
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
DEPENDS += "python3-pytest-runner-native"
do_install:append() {
install -d -m0755 ${D}${datadir}/${BPN}/examples
@@ -18,16 +18,16 @@ do_install:append() {
PACKAGES =+ "${PN}-examples"
RDEPENDS:${PN}-examples += "${PN} ${PYTHON_PN}-core"
RDEPENDS:${PN}-examples += "${PN} python3-core"
FILES:${PN}-examples = "${datadir}/${BPN}/examples"
RDEPENDS:${PN} = "\
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-threading \
python3-io \
python3-logging \
python3-math \
python3-netclient \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"