python3-astroid: upgrade 4.0.1 -> 4.0.2

Changelog:
==========
* Handle FunctionDef blockstart_tolineno edge cases correctly.
* Add "HTTPMethod" enum support to brain module for Python 3.11+.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-11-11 15:55:03 +08:00
committed by Khem Raj
parent f2f0c5df6a
commit e93f01a4f6

View File

@@ -0,0 +1,37 @@
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] = "ac8fb7ca1c08eb9afec91ccc23edbd8ac73bb22cbdd7da1d488d9fb8d6579070"
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"