summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch30
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb (renamed from meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb)5
2 files changed, 33 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch
new file mode 100644
index 0000000000..55d42b1016
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch
@@ -0,0 +1,30 @@
1From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Mon, 1 May 2023 11:32:24 -0400
4Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies
5
6The upstream pyproject.toml has hard-coded dependencies on specific
7versions of wheel and setuptools. This breaks builds of pylint
82.17.3, so patch it to remove the pinned versions.
9
10Upstream-Status: Pending
11
12Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
13---
14 pyproject.toml | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/pyproject.toml b/pyproject.toml
18index e4b63c660..0ee21e0eb 100644
19--- a/pyproject.toml
20+++ b/pyproject.toml
21@@ -1,5 +1,5 @@
22 [build-system]
23-requires = ["setuptools~=62.6", "wheel~=0.37.1"]
24+requires = ["setuptools", "wheel"]
25 build-backend = "setuptools.build_meta"
26
27 [project]
28--
292.40.0
30
diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb
index 738b9250c0..b85f77503d 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb
@@ -3,9 +3,10 @@ HOMEPAGE= "http://www.pylint.org/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5 5
6SRC_URI[sha256sum] = "487ce2192eee48211269a0e976421f334cf94de1806ca9d0a99449adcdf0285e" 6SRC_URI += "file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch"
7SRC_URI[sha256sum] = "761907349e699f8afdcd56c4fe02f3021ab5b3a0fc26d19a9bfdc66c7d0d5cd5"
7 8
8inherit pypi setuptools3 9inherit pypi python_setuptools_build_meta
9 10
10RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ 11RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
11 ${PYTHON_PN}-isort \ 12 ${PYTHON_PN}-isort \