From d7ca5843450bb21b2913b63c99e7278ef31346f7 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Mon, 12 Apr 2021 21:51:07 +0800 Subject: python3-astroid: upgrade 2.5.2 -> 2.5.3 What's New in astroid 2.5.3? ============================ Release Date: 2021-04-10 * Takes into account the fact that subscript inferring for a ClassDef may involve __class_getitem__ method * Reworks the `collections` and `typing` brain so that `pylint`s acceptance tests are fine. Closes PyCQA/pylint#4206 * Use ``inference_tip`` for ``typing.TypedDict`` brain. * Fix mro for classes that inherit from typing.Generic * Add inference tip for typing.Generic and typing.Annotated with ``__class_getitem__`` Closes PyCQA/pylint#2822 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit b06d10f7dec7c1194b86e80ae84c71dd9df9c6f8) Signed-off-by: Armin Kuster --- .../python/python3-astroid_2.5.3.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb b/meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb new file mode 100644 index 0000000000..f1d9c66af7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb @@ -0,0 +1,32 @@ +SUMMARY = "An abstract syntax tree for Python with inference support." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI[sha256sum] = "ad63b8552c70939568966811a088ef0bc880f99a24a00834abd0e3681b514f91" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-lazy-object-proxy \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-wrapt \ + ${PYTHON_PN}-setuptools \ +" + +RDEPENDS_${PN}-tests_class-target += "\ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-xml \ +" -- cgit v1.2.3-54-g00ecf