meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb
Leon Anavi 6fc41aa22c 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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-04 06:52:51 -07:00

33 lines
866 B
BlitzBasic

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 \
"