python3-astroid: Upgrade 2.8.4 -> 2.8.5

Upgrade to release 2.8.5:

- Use more permissive versions for the typed-ast dependencie
  (<2.0 instead of <1.5)
- Fix crash on inference of __len__.
- Added missing kind (for Const) and conversion (for
  FormattedValue) fields to repr.
- Fix crash with assignment expressions, nested if expressions and
  filtering of statements
- Fix incorrect filtering of assignment expressions statements

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-11-12 21:05:46 +02:00
committed by Khem Raj
parent fde1a13c8e
commit bcb17fa46a

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] = "11f7356737b624c42e21e71fe85eea6875cb94c03c82ac76bd535a0ff10b0f25"
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 \
"