aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorNicola Lunghi <nick83ola@gmail.com>2019-11-19 12:16:10 +0000
committerKhem Raj <raj.khem@gmail.com>2019-11-19 23:33:03 -0800
commit4a49ee1f6c0c6af453f67ebf383fb223c38e73eb (patch)
treeffb531b6c10c6e9892a8231cef825264f457a100 /meta-python
parentaf41ee27fe3087254860f04b783723e884499356 (diff)
downloadmeta-openembedded-contrib-4a49ee1f6c0c6af453f67ebf383fb223c38e73eb.tar.gz
python3-importlib-metadata: fix class-target overriding default dependencies
in commit fcda3fb1a3fbfac075325482074898dfb7138da7 python3-importlib-metadata: RDEPEND python3-misc only for target and nativesdk The RDEPENDS for class target was "appended" with += RDEPENDS_${PN}_class-target += "python3-misc" Using += for class target does't append the dependencies to the existing one, instead what it does is overwrite it. This was causing the RDEPENDS to be wrongly set only to python3-misc not including the one included in the inc file (zipp, pathlib2). Use append instead. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
index 851d703c969..8a971dac0a3 100644
--- a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
@@ -1,5 +1,5 @@
inherit pypi setuptools3
require python-importlib-metadata.inc
-RDEPENDS_${PN}_class-target += "python3-misc"
-RDEPENDS_${PN}_class-nativesdk += "python3-misc"
+RDEPENDS_${PN}_append_class-target = " python3-misc"
+RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"