To build python3-pytest-cov-native we need python3-coverage-native.
To build nativesdk-python3-pytest-cov we need nativesdk-python3-coverage.

Signed-off-by: Yoann Congal <yoann.con...@smile.fr>

---
Tested in native and nativesdk environnement:
"pytest --cov" does exist and start.
---
 meta-python/recipes-devtools/python/python3-coverage_7.4.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.4.0.bb 
b/meta-python/recipes-devtools/python/python3-coverage_7.4.0.bb
index cb1041c2f..30922697a 100644
--- a/meta-python/recipes-devtools/python/python3-coverage_7.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-coverage_7.4.0.bb
@@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \
     python3-tomllib \
     python3-xml \
 "
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108346): 
https://lists.openembedded.org/g/openembedded-devel/message/108346
Mute This Topic: https://lists.openembedded.org/mt/103812194/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to