mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Upgrade to release 2.4.2: - `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests - Properly construct the arguments of infered property descriptors - Handle the case where the raw builder fails to retrieve the ``__all__`` attribute - Restructure the AST parsing heuristic to always pick the same module - Do not crash with SyntaxError when parsing namedtuples with invalid label - Expose a ast_from_string method in AstroidManager, which will accept source code as a string and return the corresponding astroid object - Prevent a recursion error to happen when inferring the declared metaclass of a class Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
919 B
BlitzBasic
34 lines
919 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[md5sum] = "b54e1325995d3a9abd84bac91d4d5867"
|
|
SRC_URI[sha256sum] = "2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703"
|
|
|
|
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 \
|
|
"
|