diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-10-23 16:26:11 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-10-23 08:05:01 -0700 |
| commit | 4a1e10c269b078acad7c9589450aa7b63f3691d4 (patch) | |
| tree | c4a3b7a01f5774bbf55c2b1d3794352c4d738a06 /meta-python/recipes-devtools/python/python3-pylint_3.0.1.bb | |
| parent | 9a14fa7dd275fbbee049ece3948cf8ac67c8627b (diff) | |
| download | meta-openembedded-4a1e10c269b078acad7c9589450aa7b63f3691d4.tar.gz | |
python3-pylint: upgrade 3.0.0 -> 3.0.1
Changelog:
=============
-Fixed false positive for inherit-non-class for generic Protocols.
-Fix a crash when an enum class which is also decorated with a
dataclasses.dataclass decorator is defined.
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.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.0.1.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.1.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.1.bb new file mode 100644 index 0000000000..7de38b768f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.1.bb | |||
| @@ -0,0 +1,52 @@ | |||
| 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 ?= "f2cded41f7f3d4b45236cbe107b366b6caf84bde" | ||
| 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 | } | ||
| 51 | |||
| 52 | BBCLASSEXTEND = "native nativesdk" | ||
