layer-wide: drop PYTHON_PN

Similar to OE core commit b566b1e32c7993d1ab7795562f648e52ce186a70,
we no longer need PYTHON_PN for any abstraction of python2 vs python3.

Our similar / dup recipes are now causing signature differences, so
we go ahead and make the substitution, even if it isn't stricly
required.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2024-02-21 22:46:32 +00:00
parent 0c7965ed56
commit f27566f573
5 changed files with 17 additions and 17 deletions

View File

@ -10,9 +10,9 @@ SRCREV = "f6dbce36181c44d0d08b6f4ca166508542875ce1"
S = "${WORKDIR}/git"
DEPENDS += "${PYTHON_PN}-pyyaml-native"
DEPENDS += "python3-pyyaml-native"
RDEPENDS:${PN} += "\
${PYTHON_PN}-pyyaml \
${PYTHON_PN}-dotenv \
python3-pyyaml \
python3-dotenv \
"

View File

@ -8,7 +8,7 @@ inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"
DEPENDS += " \
${PYTHON_PN}-hatchling-native \
python3-hatchling-native \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -6,15 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
SRC_URI[md5sum] = "b08eeccf6a5efd11c316c08207edfeef"
SRC_URI[sha256sum] = "323736fb92cd9418fc5e7133bc953e11a9da04f4483f828b527db553f1e7e5a3"
DEPENDS += "${PYTHON_PN}-pip-native"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
DEPENDS += "python3-pip-native"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += " \
${PYTHON_PN}-misc \
${PYTHON_PN}-six \
${PYTHON_PN}-docker-pycreds \
${PYTHON_PN}-requests \
${PYTHON_PN}-websocket-client \
${PYTHON_PN}-packaging \
python3-misc \
python3-six \
python3-docker-pycreds \
python3-requests \
python3-websocket-client \
python3-packaging \
"
inherit pypi python_setuptools_build_meta

View File

@ -9,8 +9,8 @@ SRC_URI[md5sum] = "028bacb34536f3ee6a2ccd668c27e8e4"
SRC_URI[sha256sum] = "69a9d69d573a0daa31bcd1c0774eeed5c15c295fe719c61aca550ed1393156ce"
RDEPENDS:${PN} += "\
${PYTHON_PN}-fcntl \
${PYTHON_PN}-io \
${PYTHON_PN}-six \
${PYTHON_PN}-terminal \
python3-fcntl \
python3-io \
python3-six \
python3-terminal \
"

View File

@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://README.rst;md5=f212a0cb34eb678477972d2011fb365a"
inherit pypi setuptools3
RDEPENDS:${PN} += "${PYTHON_PN}-setuptools ${PYTHON_PN}-pickle"
RDEPENDS:${PN} += "python3-setuptools python3-pickle"
SRC_URI[md5sum] = "390ad9a9229164a06156a5b1f0ef1b22"
SRC_URI[sha256sum] = "ff284f1469bd65400599807d2c6284d5b251398e6e28811f5f77fd262292410b"