summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-11-04 13:40:35 -0700
committerKhem Raj <raj.khem@gmail.com>2023-11-06 08:47:53 -0800
commit8a4eba594e67990c09f3940f7b31b9fb425e73de (patch)
tree04fd25abd65d2b810e6644c2e17bcd9ce56c1597 /meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
parent4a7e667e100844c2f32f1498e6f9b8d0864474e1 (diff)
downloadmeta-openembedded-8a4eba594e67990c09f3940f7b31b9fb425e73de.tar.gz
python3-pylint: upgrade 3.0.1 -> 3.0.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
new file mode 100644
index 0000000000..03e878b2ba
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
@@ -0,0 +1,53 @@
1SUMMARY="Pylint is a Python source code analyzer"
2HOMEPAGE= "http://www.pylint.org/"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5
6SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \
7 file://run-ptest \
8 "
9SRCREV ?= "f2cded41f7f3d4b45236cbe107b366b6caf84bde"
10
11inherit python_setuptools_build_meta ptest
12
13RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
14 ${PYTHON_PN}-dill \
15 ${PYTHON_PN}-isort \
16 ${PYTHON_PN}-mccabe \
17 ${PYTHON_PN}-numbers \
18 ${PYTHON_PN}-platformdirs \
19 ${PYTHON_PN}-shell \
20 ${PYTHON_PN}-json \
21 ${PYTHON_PN}-pkgutil \
22 ${PYTHON_PN}-difflib \
23 ${PYTHON_PN}-netserver \
24 ${PYTHON_PN}-tomlkit \
25 "
26
27RDEPENDS:${PN}-ptest += " \
28 ${PYTHON_PN}-core \
29 ${PYTHON_PN}-git \
30 ${PYTHON_PN}-py \
31 ${PYTHON_PN}-pytest \
32 ${PYTHON_PN}-pytest-benchmark \
33 ${PYTHON_PN}-pytest-runner \
34 ${PYTHON_PN}-pytest-timeout \
35 ${PYTHON_PN}-pytest-xdist \
36 ${PYTHON_PN}-requests \
37 ${PYTHON_PN}-statistics \
38 ${PYTHON_PN}-tomllib \
39 ${PYTHON_PN}-typing-extensions \
40 "
41
42S = "${WORKDIR}/git"
43
44do_install_ptest() {
45 install -d ${D}${PTEST_PATH}/tests
46 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
47 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
48 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
49}
50
51BBCLASSEXTEND = "native nativesdk"
52
53SRCREV = "efee9618894795cc8847727108522aa79431ee25"