summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-12-20 21:08:25 +0000
committerKhem Raj <raj.khem@gmail.com>2023-12-21 08:00:41 -0800
commit6a1d0752f8c8b3a74e5a79a777f4a52288c3ae2a (patch)
tree0a7815f6ac07299430675885cf7dec7ff0b9d282 /meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
parent0fbbc0b1cce405ec6e005d8585627b503a140a6a (diff)
downloadmeta-openembedded-6a1d0752f8c8b3a74e5a79a777f4a52288c3ae2a.tar.gz
python3-astroid: update to version 3.0.2
Changelog * Avoid duplicate inference results for some uses of typing.X constructs like Tuple[Optional[int], ...]. This was causing pylint to occasionally omit messages like deprecated-typing-alias. Closes pylint-dev/pylint#9220 Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb b/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
new file mode 100644
index 0000000000..23501ce000
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
@@ -0,0 +1,37 @@
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] = "4a61cf0a59097c7bb52689b0fd63717cd2a8a14dc9f1eee97b82d814881c8c91"
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}-lazy-object-proxy \
25 ${PYTHON_PN}-logging \
26 ${PYTHON_PN}-six \
27 ${PYTHON_PN}-wrapt \
28 ${PYTHON_PN}-setuptools \
29 ${PYTHON_PN}-typing-extensions \
30"
31
32RDEPENDS:${PN}-tests:class-target += "\
33 ${PYTHON_PN}-unittest \
34 ${PYTHON_PN}-xml \
35"
36
37BBCLASSEXTEND = "native nativesdk"