From 9b6333a55429a791d455a70b29cdfdd897e029bb Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 21 Jun 2021 13:58:25 +0300 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-mypy_0.812.bb | 18 --------------- .../recipes-devtools/python/python3-mypy_0.902.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.812.bb create mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.902.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.812.bb b/meta-python/recipes-devtools/python/python3-mypy_0.812.bb deleted file mode 100644 index 8faab60b97..0000000000 --- a/meta-python/recipes-devtools/python/python3-mypy_0.812.bb +++ /dev/null @@ -1,18 +0,0 @@ -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=6afb7c151c4dedb5c3dc292cc120fadc" - -RDEPENDS_${PN} = " \ - ${PYTHON_PN}-mypy-extensions \ - ${PYTHON_PN}-typed-ast \ - ${PYTHON_PN}-typing-extensions \ -" - -PYPI_PACKAGE = "mypy" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "cd07039aa5df222037005b08fbbfd69b3ab0b0bd7a07d7906de75ae52c4e3119" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.902.bb b/meta-python/recipes-devtools/python/python3-mypy_0.902.bb new file mode 100644 index 0000000000..86465e2f3a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mypy_0.902.bb @@ -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 \ +" -- cgit v1.2.3-54-g00ecf