diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-05-28 09:48:03 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-28 09:34:33 -0700 |
| commit | 7d6361019565fb028541af1c452b0b188693f9f8 (patch) | |
| tree | a085da79e5bca791272df41a1761e543a19d79ae /meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb | |
| parent | b51670d13fdf0a01c26d5c2104082ceba2c41547 (diff) | |
| download | meta-openembedded-7d6361019565fb028541af1c452b0b188693f9f8.tar.gz | |
python3-pylint: upgrade 3.1.0 -> 3.2.2
Changelog:
===========
- Fix multiple false positives for generic class syntax added in Python 3.12
- Exclude context manager without cleanup from
contextmanager-generator-missing-cleanup checks.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb new file mode 100644 index 0000000000..0de1576af4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb | |||
| @@ -0,0 +1,57 @@ | |||
| 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=main;protocol=https \ | ||
| 7 | file://0001-Adjust-test-expectations-for-ptest.patch \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 10 | SRCREV = "769ffd20bbf321a6cf23f5e7221a0b8221f51482" | ||
| 11 | |||
| 12 | inherit python_setuptools_build_meta ptest | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += "\ | ||
| 15 | python3-astroid \ | ||
| 16 | python3-difflib \ | ||
| 17 | python3-dill \ | ||
| 18 | python3-isort \ | ||
| 19 | python3-json \ | ||
| 20 | python3-mccabe \ | ||
| 21 | python3-netserver \ | ||
| 22 | python3-numbers \ | ||
| 23 | python3-pkgutil \ | ||
| 24 | python3-platformdirs \ | ||
| 25 | python3-shell \ | ||
| 26 | python3-tomlkit \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RDEPENDS:${PN}-ptest += " \ | ||
| 30 | python3-core \ | ||
| 31 | python3-git \ | ||
| 32 | python3-py \ | ||
| 33 | python3-pytest \ | ||
| 34 | python3-pytest-benchmark \ | ||
| 35 | python3-pytest-runner \ | ||
| 36 | python3-pytest-timeout \ | ||
| 37 | python3-pytest-xdist \ | ||
| 38 | python3-requests \ | ||
| 39 | python3-statistics \ | ||
| 40 | python3-tomllib \ | ||
| 41 | python3-typing-extensions \ | ||
| 42 | python3-unittest-automake-output \ | ||
| 43 | " | ||
| 44 | |||
| 45 | S = "${WORKDIR}/git" | ||
| 46 | |||
| 47 | do_install_ptest() { | ||
| 48 | install -d ${D}${PTEST_PATH}/tests | ||
| 49 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 50 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | ||
| 51 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript | ||
| 52 | # regression_distutil_import_error_73.py fails to run see | ||
| 53 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 | ||
| 54 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py | ||
| 55 | } | ||
| 56 | |||
| 57 | BBCLASSEXTEND = "native nativesdk" | ||
