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

Changelog: =========== Prevent returning an empty list for ClassDef.slots() when the mro list contains one class & it is not object. Prevent a crash when inferring calls to str.format with inferred arguments Infer the length argument of the random.sample function. Catch ValueError when indexing some builtin containers and sequences during inference. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
871 B
BlitzBasic
33 lines
871 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-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
|
|
|
|
SRC_URI[sha256sum] = "1493fe8bd3dfd73dc35bd53c9d5b6e49ead98497c47b2307662556a5692d29d7"
|
|
|
|
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 \
|
|
"
|