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

Changelog: =========== - .pyi stub files are now preferred over .py files when resolving imports, (except for numpy). - igetattr() returns the last same-named function in a class (instead of the first). This avoids false positives in pylint with @overload. - Adds module_denylist to AstroidManager for modules to be skipped during AST generation. Modules in this list will cause an AstroidImportError to be raised when an AST for them is requested. - Make astroid.interpreter._import.util.is_namespace only consider modules using a loader set to NamespaceLoader or None as namespaces. This fixes a problem that six.moves brain was not effective if six.moves was already imported. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
923 B
BlitzBasic
38 lines
923 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] = "f7f829f8506ade59f1b3c6c93d8fac5b1ebc721685fa9af23e9794daf1d450a3"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += "\
|
|
python3-pytest-runner-native \
|
|
python3-wheel-native \
|
|
"
|
|
|
|
PACKAGES =+ "${PN}-tests"
|
|
|
|
FILES:${PN}-tests += " \
|
|
${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
|
|
${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
|
|
"
|
|
|
|
RDEPENDS:${PN}:class-target += "\
|
|
python3-lazy-object-proxy \
|
|
python3-logging \
|
|
python3-six \
|
|
python3-wrapt \
|
|
python3-setuptools \
|
|
python3-typing-extensions \
|
|
"
|
|
|
|
RDEPENDS:${PN}-tests:class-target += "\
|
|
python3-unittest \
|
|
python3-xml \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|