mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user