diff mbox series

python3-psutil: Fix native dependencies

Message ID 20250110112849.158987-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 2885ab7c5b58a8f8ff183360e239d2a36270c662
Headers show
Series python3-psutil: Fix native dependencies | expand

Commit Message

Richard Purdie Jan. 10, 2025, 11:28 a.m. UTC
The tests package has many dependencies which don't BBCLASSEXTEND to native
well. Remove these as we're not interested in the tests in the native case anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/python/python3-psutil_6.1.1.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-psutil_6.1.1.bb b/meta/recipes-devtools/python/python3-psutil_6.1.1.bb
index 854161830a1..9cd2d20fff9 100644
--- a/meta/recipes-devtools/python/python3-psutil_6.1.1.bb
+++ b/meta/recipes-devtools/python/python3-psutil_6.1.1.bb
@@ -35,6 +35,7 @@  RDEPENDS:${PN}-tests += " \
      libstdc++ \
      libstdc++-dev \
 "
+RDEPENDS:${PN}-tests:class-native = ""
 
 INSANE_SKIP:${PN}-tests += "dev-deps"