diff mbox series

[meta-python,1/2] python3-black: Extend to native and nativesdk

Message ID 20260729055553.3633678-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,1/2] python3-black: Extend to native and nativesdk | expand

Commit Message

Khem Raj July 29, 2026, 5:55 a.m. UTC
From: Khem Raj <raj.khem@gmail.com>

python3-pytest-examples is built for native and nativesdk and RDEPENDS on
python3-black, but black itself was never extended, so parsing universe warns:

  WARNING: Nothing RPROVIDES 'nativesdk-python3-black' (but
  virtual:nativesdk:...python3-pytest-examples_0.0.18.bb RDEPENDS on or
  otherwise requires it)
  WARNING: Nothing RPROVIDES 'python3-black-native' (but
  virtual:native:...python3-pytest-examples_0.0.18.bb RDEPENDS on or
  otherwise requires it)

and both python3-pytest-examples-native and nativesdk-python3-pytest-examples
end up unbuildable and get dropped.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-python/recipes-devtools/python/python3-black_26.5.1.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
index 00f027ea85..22f6deaac9 100644
--- a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
@@ -24,3 +24,5 @@  RDEPENDS:${PN} = " \
     python3-typing-extensions \
     python3-pytokens \
 "
+
+BBCLASSEXTEND = "native nativesdk"