summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
new file mode 100644
index 0000000000..413e6599db
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
@@ -0,0 +1,50 @@
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 += " \
7 git://github.com/pylint-dev/pylint;branch=main;protocol=https \
8 file://run-ptest \
9 "
10SRCREV ?= "4a7ad5ea9f1c5a98ccf736578a00554be0da6dc7"
11
12inherit python_setuptools_build_meta ptest
13
14RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
15 ${PYTHON_PN}-dill \
16 ${PYTHON_PN}-isort \
17 ${PYTHON_PN}-mccabe \
18 ${PYTHON_PN}-numbers \
19 ${PYTHON_PN}-platformdirs \
20 ${PYTHON_PN}-shell \
21 ${PYTHON_PN}-json \
22 ${PYTHON_PN}-pkgutil \
23 ${PYTHON_PN}-difflib \
24 ${PYTHON_PN}-netserver \
25 ${PYTHON_PN}-tomlkit \
26 "
27
28RDEPENDS:${PN}-ptest += " \
29 ${PYTHON_PN}-core \
30 ${PYTHON_PN}-git \
31 ${PYTHON_PN}-py \
32 ${PYTHON_PN}-pytest \
33 ${PYTHON_PN}-pytest-benchmark \
34 ${PYTHON_PN}-pytest-runner \
35 ${PYTHON_PN}-pytest-timeout \
36 ${PYTHON_PN}-pytest-xdist \
37 ${PYTHON_PN}-requests \
38 ${PYTHON_PN}-statistics \
39 ${PYTHON_PN}-tomllib \
40 ${PYTHON_PN}-typing-extensions \
41 "
42
43S = "${WORKDIR}/git"
44
45do_install_ptest() {
46 install -d ${D}${PTEST_PATH}/tests
47 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
48 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
49 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
50}