From: "[email protected]" <[email protected]>

By doing so we mitigate failure when trying to bitbake recipe which
rdepends on nativesdk-python3-attrs, such as following error
when bitbaking nativesdk-python3-jsonschema:

  ERROR: Nothing RPROVIDES 'nativesdk-python3-attrs' (but 
virtual:nativesdk:.../meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
 RDEPENDS on or otherwise requires it)

Signed-off-by: Niko Mauno <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 129efc7fa0c04ee812a972fc5b63990fe74288ea)
Signed-off-by: Armin Kuster <[email protected]>
---
 meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb 
b/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
index b3739fda8c..7ff8049e52 100644
--- a/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
@@ -12,5 +12,9 @@ RDEPENDS_${PN}_class-target += " \
     ${PYTHON_PN}-crypt \
     ${PYTHON_PN}-ctypes \
 "
+RDEPENDS_${PN}_class-nativesdk += " \
+    ${PYTHON_PN}-crypt \
+    ${PYTHON_PN}-ctypes \
+"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84442): 
https://lists.openembedded.org/g/openembedded-devel/message/84442
Mute This Topic: https://lists.openembedded.org/mt/74292764/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to