diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-05-02 12:50:03 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-12 10:33:54 -0700 |
| commit | b9b6308f3d2c6a75bd1b71dce5b475efe292c85d (patch) | |
| tree | e30aecb04655e954e4cc402617922a4c0eb5f3d9 /meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb | |
| parent | 1410b40c2f04af9104220c967a81b2c4779efa6c (diff) | |
| download | meta-openembedded-b9b6308f3d2c6a75bd1b71dce5b475efe292c85d.tar.gz | |
python3-pylint: upgrade 2.14.5 -> 2.17.3
Change pylint to inherit python_setuptools_build_meta instead of
setuptools3. Also add a patch to remove hard-coded version depdendencies
for wheel and setuptools from the pyproject.toml, otherwise the
following error occurs during do_compile:
| ERROR Missing dependencies:
| wheel~=0.37.1
| setuptools~=62.6
Release note links:
2.17.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.17/index.html
2.16.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.16/index.html
2.15.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.15/index.html
2.14.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/index.html
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb new file mode 100644 index 0000000000..b85f77503d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 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 += "file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch" | ||
| 7 | SRC_URI[sha256sum] = "761907349e699f8afdcd56c4fe02f3021ab5b3a0fc26d19a9bfdc66c7d0d5cd5" | ||
| 8 | |||
| 9 | inherit pypi python_setuptools_build_meta | ||
| 10 | |||
| 11 | RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ | ||
| 12 | ${PYTHON_PN}-isort \ | ||
| 13 | ${PYTHON_PN}-numbers \ | ||
| 14 | ${PYTHON_PN}-shell \ | ||
| 15 | ${PYTHON_PN}-json \ | ||
| 16 | ${PYTHON_PN}-pkgutil \ | ||
| 17 | ${PYTHON_PN}-difflib \ | ||
| 18 | ${PYTHON_PN}-netserver \ | ||
| 19 | " | ||
