mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-14 12:00:01 +00:00
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>
20 lines
744 B
BlitzBasic
20 lines
744 B
BlitzBasic
SUMMARY="Pylint is a Python source code analyzer"
|
|
HOMEPAGE= "http://www.pylint.org/"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
|
|
|
|
SRC_URI += "file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch"
|
|
SRC_URI[sha256sum] = "761907349e699f8afdcd56c4fe02f3021ab5b3a0fc26d19a9bfdc66c7d0d5cd5"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
|
|
${PYTHON_PN}-isort \
|
|
${PYTHON_PN}-numbers \
|
|
${PYTHON_PN}-shell \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-pkgutil \
|
|
${PYTHON_PN}-difflib \
|
|
${PYTHON_PN}-netserver \
|
|
"
|