| Message ID | 20260329-fix-confusing-appends-v1-1-df7e87b8b879@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | Confusing and invalid conditional appends | expand |
diff --git a/meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb b/meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb index d75b14c49f..1e7372f692 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb @@ -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 \ " diff --git a/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb index b32fe2e1d0..184ce28c1a 100644 --- a/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb @@ -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 \ diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb index 85ec93695d..5b201a7554 100644 --- a/meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb @@ -8,7 +8,7 @@ PTEST_PYTEST_DIR = "test" SRC_URI[sha256sum] = "3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e" -RDEPENDS:${PN}:class-target += "\ +RDEPENDS:${PN}:append:class-target = " \ python3-io \ " diff --git a/meta-python/recipes-devtools/python/python3-progress_1.6.1.bb b/meta-python/recipes-devtools/python/python3-progress_1.6.1.bb index 57c0748a5c..9ec4ec2b66 100644 --- a/meta-python/recipes-devtools/python/python3-progress_1.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-progress_1.6.1.bb @@ -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 \ " diff --git a/meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb b/meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb index 70652048f3..ee57717a5c 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb @@ -13,7 +13,7 @@ RDEPENDS:${PN}-ptest += " \ python3-misc \ " -RDEPENDS:${PN}:class-target += "\ +RDEPENDS:${PN}:append:class-target = " \ python3-stringold \ python3-threading \ " diff --git a/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb b/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb index 4844e10de1..281c73eec4 100644 --- a/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb @@ -11,6 +11,6 @@ DEPENDS += "\ python3-hatch-vcs-native \ " -RDEPENDS:${PN}:class-target += "\ +RDEPENDS:${PN}:append:class-target = " \ python3-pyyaml \ " diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb b/meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb index 1446d15935..690c2d26aa 100644 --- a/meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb +++ b/meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb @@ -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" diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb index 0f7065f5ae..ab0fe8c602 100644 --- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb +++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb @@ -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 \ diff --git a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb index f02c96e405..83156cfddf 100644 --- a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb +++ b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb @@ -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 \
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> --- meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb | 4 ++-- meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb | 2 +- meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb | 2 +- meta-python/recipes-devtools/python/python3-progress_1.6.1.bb | 2 +- meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb | 2 +- meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb | 2 +- meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb | 2 +- .../recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb | 2 +- meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)