meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
Nicola Lunghi 4a49ee1f6c 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>
2019-11-19 23:33:03 -08:00

6 lines
173 B
BlitzBasic

inherit pypi setuptools3
require python-importlib-metadata.inc
RDEPENDS_${PN}_append_class-target = " python3-misc"
RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"