meta-python: Convert confusing appends to override syntax

While in this case `RDEPENDS:class-target +=` wouldn't result in any
unwanted override, there is no guarantee there won't be a change, which
would be hidden by this override. To avoid any surprises in the future
let's use `:append:class-target =` syntax here.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Michal Sieron 2026-03-29 23:37:02 +02:00 committed by Khem Raj
parent 343f5a7a75
commit 01a34fa1cc
No known key found for this signature in database
GPG Key ID: BB053355919D3314
9 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ FILES:${PN}-tests += " \
${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
"
RDEPENDS:${PN}:class-target += "\
RDEPENDS:${PN}:append:class-target = " \
python3-lazy-object-proxy \
python3-logging \
python3-six \
@ -29,7 +29,7 @@ RDEPENDS:${PN}:class-target += "\
python3-typing-extensions \
"
RDEPENDS:${PN}-tests:class-target += "\
RDEPENDS:${PN}-tests:append:class-target = " \
python3-unittest \
python3-xml \
"

View File

@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2
inherit pypi setuptools3
RDEPENDS:${PN}:class-target += " \
RDEPENDS:${PN}:append:class-target = " \
python3-datetime \
python3-fcntl \
python3-io \

View File

@ -8,7 +8,7 @@ PTEST_PYTEST_DIR = "test"
SRC_URI[sha256sum] = "3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e"
RDEPENDS:${PN}:class-target += "\
RDEPENDS:${PN}:append:class-target = " \
python3-io \
"

View File

@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "c1ba719f862ce885232a759eab47971fe74dfc7bb76ab8a51ef5940bad
inherit pypi python_setuptools_build_meta
RDEPENDS:${PN}:class-target += " \
RDEPENDS:${PN}:append:class-target = " \
python3-datetime \
python3-math \
"

View File

@ -13,7 +13,7 @@ RDEPENDS:${PN}-ptest += " \
python3-misc \
"
RDEPENDS:${PN}:class-target += "\
RDEPENDS:${PN}:append:class-target = " \
python3-stringold \
python3-threading \
"

View File

@ -11,6 +11,6 @@ DEPENDS += "\
python3-hatch-vcs-native \
"
RDEPENDS:${PN}:class-target += "\
RDEPENDS:${PN}:append:class-target = " \
python3-pyyaml \
"

View File

@ -11,7 +11,7 @@ PACKAGES =. "${PN}-test "
RPROVIDES:${PN} += "zope-interfaces"
RDEPENDS:${PN}:class-target += "python3-datetime"
RDEPENDS:${PN}:append:class-target = " python3-datetime"
RDEPENDS:${PN}-test += "python3-unittest python3-doctest"
FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug"

View File

@ -15,7 +15,7 @@ inherit pkgconfig pypi setuptools3
DEPENDS += "parted"
RDEPENDS:${PN}:class-target += " \
RDEPENDS:${PN}:append:class-target = " \
parted (>= 2.3) \
python3-codecs \
python3-math \

View File

@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "7fb1c32e358d55c2c6966a071c8ecc0ca81de3d32944a67cc646c57b1a
inherit pypi setuptools3
RDEPENDS:${PN}:class-target += "\
RDEPENDS:${PN}:append:class-target = " \
python3-ply \
python3-pyyaml \
python3-six \