From 262a13ea72fbae3eaa625c21e9ce728a3a70aa81 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 23 Jun 2021 12:06:02 +0300 Subject: python3-mypy: Upgrade 0.902 -> 0.910 Upgrade to release 0.910: - Call get_method_hook when methods are used in decorators - Don't ask to install a stub package if stubs are installed - [mypyc] Support various number-related dunders - Fix crash when inferring multiple assignment with overloaded function - Replace variable annotation with type comment to fix Python 3.5 - docs: updating URL in comment Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-mypy_0.910.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.910.bb (limited to 'meta-python/recipes-devtools/python/python3-mypy_0.910.bb') diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.910.bb b/meta-python/recipes-devtools/python/python3-mypy_0.910.bb new file mode 100644 index 0000000000..8e675e6a9b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mypy_0.910.bb @@ -0,0 +1,23 @@ +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" + +PYPI_PACKAGE = "mypy" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "704098302473cb31a218f1775a873b376b30b4c18229421e9e9dc8916fd16150" + +BBCLASSEXTEND = "native" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-mypy-extensions \ + ${PYTHON_PN}-typed-ast \ + ${PYTHON_PN}-typing-extensions \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-toml \ +" -- cgit 1.2.3-korg