From ee38717082acbfa18333f4a68eeb918b464efae6 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 24 Apr 2023 11:23:07 +0800 Subject: python3-astroid: upgrade 2.15.2 -> 2.15.3 Changelog: ========== * Fix "infer_call_result()" crash on methods called "with_metaclass()". * Suppress "UserWarning" when finding module specs. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-astroid_2.15.3.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.15.3.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.15.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.15.3.bb b/meta-python/recipes-devtools/python/python3-astroid_2.15.3.bb new file mode 100644 index 0000000000..bcde069381 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.15.3.bb @@ -0,0 +1,35 @@ +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] = "44224ad27c54d770233751315fa7f74c46fa3ee0fab7beef1065f99f09897efe" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + ${PYTHON_PN}-pytest-runner-native \ + ${PYTHON_PN}-wheel-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 \ +" -- cgit v1.2.3-54-g00ecf