From 6fc41aa22c78c5ac207194b3f2a78ba216d06794 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 3 Nov 2021 14:11:48 +0200 Subject: python3-astroid: Upgrade 2.8.2 -> 2.8.4 Upgrade to release 2.8.4: - Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword`` or ``Comprehension`` nodes these methods now correctly point to the outer-scope of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. - Fix the ``set_local`` function for ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these nodes are now correctly added to the locals of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-astroid_2.8.4.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb b/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb new file mode 100644 index 0000000000..1d2767fba1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.8.4.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] = "1e83a69fd51b013ebf5912d26b9338d6643a55fec2f20c787792680610eed4a2" + +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