diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-10-02 20:14:07 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-10-12 09:58:05 -0400 |
| commit | ccfa73f9d9e8f2beeae2b77773560d28402c0750 (patch) | |
| tree | 7f353fae6c900acc81096ca00869b10e2b270f72 /meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb | |
| parent | 2e9f97ae20f8238aed1c9e482468ed38e81d3273 (diff) | |
| download | meta-openembedded-ccfa73f9d9e8f2beeae2b77773560d28402c0750.tar.gz | |
python3-pylint: Upgrade to 3.0.0
Package additional hidden files for ptests (test_primer.py)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 79eac8e59ff7be9247e67dfb9033312f9fb7cf0e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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.bb | 50 |
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 @@ | |||
| 1 | SUMMARY="Pylint is a Python source code analyzer" | ||
| 2 | HOMEPAGE= "http://www.pylint.org/" | ||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | ||
| 5 | |||
| 6 | SRC_URI += " \ | ||
| 7 | git://github.com/pylint-dev/pylint;branch=main;protocol=https \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 10 | SRCREV ?= "4a7ad5ea9f1c5a98ccf736578a00554be0da6dc7" | ||
| 11 | |||
| 12 | inherit python_setuptools_build_meta ptest | ||
| 13 | |||
| 14 | RDEPENDS:${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 | |||
| 28 | RDEPENDS:${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 | |||
| 43 | S = "${WORKDIR}/git" | ||
| 44 | |||
| 45 | do_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 | } | ||
