diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch | 4 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch | 8 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb (renamed from meta-python/recipes-devtools/python/python3-pylint_3.3.8.bb) | 4 |
3 files changed, 6 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch index 0f3e7d45e8..307dc0083b 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch | |||
| @@ -12,11 +12,9 @@ Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com> | |||
| 12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- | 12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- |
| 13 | 1 file changed, 11 insertions(+), 11 deletions(-) | 13 | 1 file changed, 11 insertions(+), 11 deletions(-) |
| 14 | 14 | ||
| 15 | diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt | ||
| 16 | index 9f143c292..a283467af 100644 | ||
| 17 | --- a/tests/functional/w/wrong_import_order.txt | 15 | --- a/tests/functional/w/wrong_import_order.txt |
| 18 | +++ b/tests/functional/w/wrong_import_order.txt | 16 | +++ b/tests/functional/w/wrong_import_order.txt |
| 19 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before | 17 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard |
| 20 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED | 18 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED |
| 21 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED | 19 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED |
| 22 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED | 20 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED |
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch index d30e852025..9c1d535690 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch | |||
| @@ -19,8 +19,6 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | |||
| 19 | pyproject.toml | 6 ++++-- | 19 | pyproject.toml | 6 ++++-- |
| 20 | 1 file changed, 4 insertions(+), 2 deletions(-) | 20 | 1 file changed, 4 insertions(+), 2 deletions(-) |
| 21 | 21 | ||
| 22 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 23 | index a3cc3f43b..5eaf5ee5e 100644 | ||
| 24 | --- a/pyproject.toml | 22 | --- a/pyproject.toml |
| 25 | +++ b/pyproject.toml | 23 | +++ b/pyproject.toml |
| 26 | @@ -8,8 +8,7 @@ name = "pylint" | 24 | @@ -8,8 +8,7 @@ name = "pylint" |
| @@ -33,9 +31,9 @@ index a3cc3f43b..5eaf5ee5e 100644 | |||
| 33 | authors = [ | 31 | authors = [ |
| 34 | { name = "Python Code Quality Authority", email = "code-quality@python.org" }, | 32 | { name = "Python Code Quality Authority", email = "code-quality@python.org" }, |
| 35 | ] | 33 | ] |
| 36 | @@ -65,6 +64,9 @@ scripts.pylint-config = "pylint:_run_pylint_config" | 34 | @@ -105,6 +104,9 @@ test-min = [ |
| 37 | scripts.pyreverse = "pylint:run_pyreverse" | 35 | "typing-extensions~=4.15", |
| 38 | scripts.symilar = "pylint:run_symilar" | 36 | ] |
| 39 | 37 | ||
| 40 | +[tool.setuptools] | 38 | +[tool.setuptools] |
| 41 | +license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] | 39 | +license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] |
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.8.bb b/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb index 9864084355..04144aa7a3 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.3.8.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb | |||
| @@ -3,8 +3,8 @@ HOMEPAGE = "https://www.pylint.org/" | |||
| 3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" |
| 5 | 5 | ||
| 6 | SRCREV = "98942ba4126a6fe1657bad77027bcc11016d16da" | 6 | SRCREV = "84b6552b86e210097ac29de7ef64b152efb4a454" |
| 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ | 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ |
| 8 | file://0001-Adjust-test-expectations-for-ptest.patch \ | 8 | file://0001-Adjust-test-expectations-for-ptest.patch \ |
| 9 | file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ | 9 | file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ |
| 10 | file://run-ptest \ | 10 | file://run-ptest \ |
