From 51faef2f34fa40eaa2b9fdcf6f79df5ff51eb7b6 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Fri, 27 May 2022 09:15:29 +0800 Subject: python3-astroid: upgrade 2.11.3 -> 2.11.5 Changelog: ========= - Fix crash while obtaining object_type() of an Unknown node. - Fix a bug where in attempting to handle the patching of distutils by virtualenv, library submodules called distutils (e.g. numpy.distutils) were included also. Signed-off-by: Xu Huan Signed-off-by: Khem Raj --- .../python/python3-astroid_2.11.5.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.11.5.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.11.5.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.11.5.bb b/meta-python/recipes-devtools/python/python3-astroid_2.11.5.bb new file mode 100644 index 0000000000..f11a4a13d6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.11.5.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-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" + +SRC_URI[sha256sum] = "f4e4ec5294c4b07ac38bab9ca5ddd3914d4bf46f9006eb5c0ae755755061044e" + +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