summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-08-16 17:12:29 +0300
committerKhem Raj <raj.khem@gmail.com>2021-08-17 08:11:16 -0700
commit77c992785c546a5783c13954839d6a85a2709abc (patch)
treec9c2bbfd966368590c1c0711022aadb84c79b470 /meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb
parenta13db91f19ef113bfb5f23fc15db27af558ef9a8 (diff)
downloadmeta-openembedded-77c992785c546a5783c13954839d6a85a2709abc.tar.gz
python3-astroid: Upgrade 2.6.6 -> 2.7.0
Upgrade to release 2.7.0: - Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0. - Add support for arbitrary Enum subclass hierachies - Add inference tips for dataclass attributes, including dataclasses.field calls. Also add support for InitVar. - Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb b/meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb
new file mode 100644
index 0000000000..f95c5138cc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_2.7.0.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] = "1472a98322b64869b9dc95007a0fbbaa71d580e3c8abf73c989b740873c673f3"
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"