python3-importlib-metadata: RDEPEND python3-misc only for target and nativesdk

Python3 recipe rprovides python3-misc only for target and nativesdk,
but if we have some recipe that rdepends python3-misc and has native
in BBCLASSEXTEND bitbake raises an error showing that nothing rprovides
python3-misc-native.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Fabio Berton 2019-11-13 09:09:44 -03:00 committed by Khem Raj
parent 2c06018954
commit fcda3fb1a3

View File

@ -1,4 +1,5 @@
inherit pypi setuptools3
require python-importlib-metadata.inc
RDEPENDS_${PN} += "python3-misc"
RDEPENDS_${PN}_class-target += "python3-misc"
RDEPENDS_${PN}_class-nativesdk += "python3-misc"