From fcda3fb1a3fbfac075325482074898dfb7138da7 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Wed, 13 Nov 2019 09:09:44 -0300 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools') 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 4c53d5fbb5..851d703c96 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,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" -- cgit v1.2.3-54-g00ecf