python3-importlib-metadata: fix class-target overriding default dependencies

in commit fcda3fb1a3
  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>
This commit is contained in:
Nicola Lunghi
2019-11-19 12:16:10 +00:00
committed by Khem Raj
parent af41ee27fe
commit 4a49ee1f6c

View File

@@ -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"