From d0bedfca0c47e0d19352dd2133ace9270adfaa78 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 16 Jun 2021 12:34:05 +0300 Subject: python3-astroid: Upgrade 2.5.7 -> 2.5.8 Upgrade to release 2.5.8: - Improve support for Pattern Matching - Add lineno and col_offset for ``Keyword`` nodes and Python 3.9+ - Add global inference cache to speed up inference of long statement blocks - Add a limit to the total number of nodes inferred indirectly as a result of inferring some node Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-astroid_2.5.8.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb b/meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb new file mode 100644 index 0000000000..68165abd1c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.5.8.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://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" + +SRC_URI[sha256sum] = "2476b7f0d6cec13f4c1f53b54bea2ce072310ac9fc7acb669d5270190c748042" + +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