summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-11-03 14:11:48 +0200
committerKhem Raj <raj.khem@gmail.com>2021-11-04 06:52:51 -0700
commit6fc41aa22c78c5ac207194b3f2a78ba216d06794 (patch)
treea45add4c97f95fd01fdf1d8df7b8a213d76bff40 /meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb
parent3e9570d31b801a3bf368a50a37405daa956b0208 (diff)
downloadmeta-openembedded-6fc41aa22c78c5ac207194b3f2a78ba216d06794.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb32
1 files changed, 32 insertions, 0 deletions
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 @@
1SUMMARY = "An abstract syntax tree for Python with inference support."
2HOMEPAGE = "https://pypi.python.org/pypi/astroid"
3SECTION = "devel/python"
4LICENSE = "LGPL-2.1"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6
7SRC_URI[sha256sum] = "1e83a69fd51b013ebf5912d26b9338d6643a55fec2f20c787792680610eed4a2"
8
9inherit pypi setuptools3
10
11DEPENDS += "${PYTHON_PN}-pytest-runner-native"
12
13PACKAGES =+ "${PN}-tests"
14
15FILES:${PN}-tests += " \
16 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
17 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
18"
19
20RDEPENDS:${PN}:class-target += "\
21 ${PYTHON_PN}-distutils \
22 ${PYTHON_PN}-lazy-object-proxy \
23 ${PYTHON_PN}-logging \
24 ${PYTHON_PN}-six \
25 ${PYTHON_PN}-wrapt \
26 ${PYTHON_PN}-setuptools \
27"
28
29RDEPENDS:${PN}-tests:class-target += "\
30 ${PYTHON_PN}-unittest \
31 ${PYTHON_PN}-xml \
32"