meta-openembedded/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
Yoann Congal 09bf205ee2
python3-mypy*: add nativesdk variant
Since commit 9b0015577c ("python3-charset-normalizer: Switch to
PEP-517 build backends"), python3-charset-normalizer depends on
python3-mypy and has a nativesdk variant. So, python3-mypy and its
dependency python3-mypy-extensions also need the nativesdk variant.

Fixes these warnings from AB[0]:
WARNING: Nothing RPROVIDES 'nativesdk-python3-mypy' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-26 09:56:18 -07:00

25 lines
683 B
BlitzBasic

SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
HOMEPAGE = "https://github.com/python/mypy"
LICENSE = "MIT & Python-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"
BBCLASSEXTEND = "native nativesdk"
DEPENDS += " \
python3-mypy-extensions-native \
python3-types-psutil-native \
python3-types-setuptools-native \
python3-typing-extensions-native \
python3-pathspec-native \
"
RDEPENDS:${PN} += " \
python3-modules \
python3-mypy-extensions \
python3-typing-extensions \
"