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

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

  ERROR: Nothing RPROVIDES 'nativesdk-python3-setuptools-scm' (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 c966d3f063a9f159fd8db532b8034435e1cf3964)
Signed-off-by: Armin Kuster <[email protected]>
---
 .../recipes-devtools/python/python3-setuptools-scm_3.3.3.bb   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb 
b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
index c061ea2e63..a1fc3831fb 100644
--- a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = 
"bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217a
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi setuptools3
 
-RDEPENDS_${PN}_class-target = "\
+RDEPENDS_${PN} = "\
     ${PYTHON_PN}-debugger \
     ${PYTHON_PN}-json \
     ${PYTHON_PN}-py \
@@ -18,4 +18,4 @@ RDEPENDS_${PN}_class-native = "\
     ${PYTHON_PN}-setuptools-native \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1

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

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

Reply via email to