From cd708ce8a51d3d05f5c962e59f27189eb9d565e4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 21 May 2025 16:58:52 +0800 Subject: python3-astroid: upgrade 3.3.9 -> 3.3.10 Changelog: ============ - Avoid importing submodules sharing names with standard library modules. - Fix bug where pylint code.custom_extension would analyze code.py or code.pyi instead if they existed. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-astroid_3.3.10.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb new file mode 100644 index 0000000000..b595335b99 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb @@ -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] = "c332157953060c6deb9caa57303ae0d20b0fbdb2e59b4a4f2a6ba49d0a7961ce" + +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" -- cgit v1.2.3-54-g00ecf