meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_2.5.3.bb
zhengruoqin b06d10f7de python3-astroid: upgrade 2.5.2 -> 2.5.3
What's New in astroid 2.5.3?
============================
Release Date: 2021-04-10

* Takes into account the fact that subscript inferring for a ClassDef may involve __class_getitem__ method

* Reworks the `collections` and `typing` brain so that `pylint`s acceptance tests are fine.

  Closes PyCQA/pylint#4206

* Use ``inference_tip`` for ``typing.TypedDict`` brain.

* Fix mro for classes that inherit from typing.Generic

* Add inference tip for typing.Generic and typing.Annotated with ``__class_getitem__``

  Closes PyCQA/pylint#2822

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-13 08:06:07 -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://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI[sha256sum] = "ad63b8552c70939568966811a088ef0bc880f99a24a00834abd0e3681b514f91"
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 \
"