meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_2.7.0.bb
Leon Anavi 77c992785c 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>
2021-08-17 08:11:16 -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] = "1472a98322b64869b9dc95007a0fbbaa71d580e3c8abf73c989b740873c673f3"
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 \
"