python3-mypy: Upgrade 0.812 -> 0.902

Upgrade to release 0.902:

- Move third-party library stubs to stub packages, allowing newer
  stubs to be easily used without updating mypy
- Support pyproject.toml and type guards
- Ship wheels for Apple Silicon
- Many other features and bug fixes

License-Update: Update copyright year

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi
2021-06-21 13:58:25 +03:00
committed by Khem Raj
parent 39f4be7829
commit 9b6333a554

View File

@@ -0,0 +1,26 @@
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=17b7180fcfc43c4e70c07c71588604c4"
RDEPENDS_${PN} = " \
${PYTHON_PN}-mypy-extensions \
${PYTHON_PN}-typed-ast \
${PYTHON_PN}-typing-extensions \
"
PYPI_PACKAGE = "mypy"
inherit pypi setuptools3
SRC_URI[sha256sum] = "9236c21194fde5df1b4d8ebc2ef2c1f2a5dc7f18bcbea54274937cae2e20a01c"
BBCLASSEXTEND = "native"
RDEPENDS_${PN} += " \
${PYTHON_PN}-json \
${PYTHON_PN}-compression \
${PYTHON_PN}-pprint \
${PYTHON_PN}-difflib \
${PYTHON_PN}-toml \
"