python3-astroid: Upgrade 2.6.5 -> 2.6.6

Upgrade to release 2.6.6:

- Added support to infer return type of typing.cast()
- Fix variable lookup's handling of exclusive statements
- Fix variable lookup's handling of function parameters
- Fix variable lookup's handling of except clause variables
- Fix handling of classes with duplicated bases with the same name

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>
This commit is contained in:
Leon Anavi
2021-08-09 16:42:23 +03:00
committed by Khem Raj
parent 34d7b7c706
commit fec4fa46df

View File

@@ -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] = "3975a0bd5373bdce166e60c851cfcbaf21ee96de80ec518c1f4cb3e94c3fb334"
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 \
"