python3-black: Extend to native and nativesdk
PATCH 1/2 python3-black: Extend to native and nativesdk
From: Khem Raj <[email protected]>
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.
--- meta-python/recipes-devtools/python/python3-black_26.5.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-black_26.5.1.bb +2 -0
@@ -24,3 +24,5 @@ RDEPENDS:${PN} = " \ python3-typing-extensions \ python3-pytokens \ " + +BBCLASSEXTEND = "native nativesdk"
PATCH 2/2 python3-pytokens: Extend to native and nativesdk
From: Khem Raj <[email protected]>
python3-black RDEPENDS on python3-pytokens, so extending black to native and nativesdk only moves the "Nothing RPROVIDES" warning one level down unless pytokens is extended as well.
pytokens has no runtime dependencies of its own and only needs python3-mypy-native to build, so it is safe to extend.
--- meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb +2 -0
@@ -7,3 +7,5 @@ inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "292052fe80923aae2260c073f822ceba21f3872ced9a68bb7953b348e561179a" DEPENDS += "python3-mypy-native" + +BBCLASSEXTEND = "native nativesdk"