diff options
| author | Dan McGregor <danismostlikely@gmail.com> | 2024-03-12 10:48:15 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-12 10:24:03 -0700 |
| commit | 788a2ea4a8af7fb69f078daf2b4030e91a3c7c73 (patch) | |
| tree | a4c6d6714a7e20ac8a208f3ef97535f8b2f418d4 /meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb | |
| parent | 5f50417498394f2ddfb5900aced6b2777daf82c8 (diff) | |
| download | meta-openembedded-788a2ea4a8af7fb69f078daf2b4030e91a3c7c73.tar.gz | |
python3-pylint: Update to 3.1.0
PyLint needs to be comapatible with Astroid. It was recently updated
to version 3.1.0, so follow suit with pylint.
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb new file mode 100644 index 0000000000..49f0b3eb6e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb | |||
| @@ -0,0 +1,56 @@ | |||
| 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 += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \ | ||
| 7 | file://run-ptest \ | ||
| 8 | " | ||
| 9 | SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" | ||
| 10 | |||
| 11 | inherit python_setuptools_build_meta ptest | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "\ | ||
| 14 | python3-astroid \ | ||
| 15 | python3-difflib \ | ||
| 16 | python3-dill \ | ||
| 17 | python3-isort \ | ||
| 18 | python3-json \ | ||
| 19 | python3-mccabe \ | ||
| 20 | python3-netserver \ | ||
| 21 | python3-numbers \ | ||
| 22 | python3-pkgutil \ | ||
| 23 | python3-platformdirs \ | ||
| 24 | python3-shell \ | ||
| 25 | python3-tomlkit \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | python3-core \ | ||
| 30 | python3-git \ | ||
| 31 | python3-py \ | ||
| 32 | python3-pytest \ | ||
| 33 | python3-pytest-benchmark \ | ||
| 34 | python3-pytest-runner \ | ||
| 35 | python3-pytest-timeout \ | ||
| 36 | python3-pytest-xdist \ | ||
| 37 | python3-requests \ | ||
| 38 | python3-statistics \ | ||
| 39 | python3-tomllib \ | ||
| 40 | python3-typing-extensions \ | ||
| 41 | python3-unittest-automake-output \ | ||
| 42 | " | ||
| 43 | |||
| 44 | S = "${WORKDIR}/git" | ||
| 45 | |||
| 46 | do_install_ptest() { | ||
| 47 | install -d ${D}${PTEST_PATH}/tests | ||
| 48 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 49 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | ||
| 50 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript | ||
| 51 | # regression_distutil_import_error_73.py fails to run see | ||
| 52 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 | ||
| 53 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py | ||
| 54 | } | ||
| 55 | |||
| 56 | BBCLASSEXTEND = "native nativesdk" | ||
