summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-10-23 16:28:27 +0800
committerArmin Kuster <akuster808@gmail.com>2023-10-30 07:14:02 -0400
commit1047038aa256b2ef9780a1d4072bc4eae199c34d (patch)
tree92f29d481cafa035b85ae069dc9686c944743774 /meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
parent28e341a21b40fdc167e4e6b86c75f0dfa98d5b4a (diff)
downloadmeta-openembedded-1047038aa256b2ef9780a1d4072bc4eae199c34d.tar.gz
python3-astroid: upgrade 3.0.0 -> 3.0.1
Changelog: Fix crashes linting code using PEP 695 (Python 3.12) generic type syntax. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 2fab614ab9d304685e62b4575f5b08c3754923df) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
new file mode 100644
index 0000000000..db3ef43920
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
@@ -0,0 +1,38 @@
1SUMMARY = "An abstract syntax tree for Python with inference support."
2HOMEPAGE = "https://pypi.python.org/pypi/astroid"
3SECTION = "devel/python"
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6
7SRC_URI[sha256sum] = "86b0bb7d7da0be1a7c4aedb7974e391b32d4ed89e33de6ed6902b4b15c97577e"
8
9inherit pypi python_setuptools_build_meta
10
11DEPENDS += "\
12 ${PYTHON_PN}-pytest-runner-native \
13 ${PYTHON_PN}-wheel-native \
14"
15
16PACKAGES =+ "${PN}-tests"
17
18FILES:${PN}-tests += " \
19 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
20 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
21"
22
23RDEPENDS:${PN}:class-target += "\
24 ${PYTHON_PN}-distutils \
25 ${PYTHON_PN}-lazy-object-proxy \
26 ${PYTHON_PN}-logging \
27 ${PYTHON_PN}-six \
28 ${PYTHON_PN}-wrapt \
29 ${PYTHON_PN}-setuptools \
30 ${PYTHON_PN}-typing-extensions \
31"
32
33RDEPENDS:${PN}-tests:class-target += "\
34 ${PYTHON_PN}-unittest \
35 ${PYTHON_PN}-xml \
36"
37
38BBCLASSEXTEND = "native nativesdk"