summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <danismostlikely@gmail.com>2023-10-11 13:06:50 -0600
committerKhem Raj <raj.khem@gmail.com>2023-10-11 12:32:09 -0700
commitfbb9d270790a7d77926f6a34505399e4f9fc1f51 (patch)
tree77b1d012bc88b35ee16b28752c0e70b5d5b0ddda
parent963fc79e271e56d323b626f2ca1d214ad74c3e4d (diff)
downloadmeta-openembedded-fbb9d270790a7d77926f6a34505399e4f9fc1f51.tar.gz
python3-pylint: allow native build
We use pylint for some native recipes in our build. Allow pylint to be a native recipe, and likewise allow its runtime dependencies to be native recipes. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_3.0.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-dill_0.3.7.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-mccabe_0.7.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb2
5 files changed, 10 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.0.bb b/meta-python/recipes-devtools/python/python3-astroid_3.0.0.bb
index 2f80187b2b..cdf6fc74ed 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_3.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.0.bb
@@ -34,3 +34,5 @@ RDEPENDS:${PN}-tests:class-target += "\
34 ${PYTHON_PN}-unittest \ 34 ${PYTHON_PN}-unittest \
35 ${PYTHON_PN}-xml \ 35 ${PYTHON_PN}-xml \
36" 36"
37
38BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-dill_0.3.7.bb b/meta-python/recipes-devtools/python/python3-dill_0.3.7.bb
index b6b788110d..673964f3b7 100644
--- a/meta-python/recipes-devtools/python/python3-dill_0.3.7.bb
+++ b/meta-python/recipes-devtools/python/python3-dill_0.3.7.bb
@@ -15,3 +15,5 @@ RDEPENDS:${PN} += "\
15 ${PYTHON_PN}-profile \ 15 ${PYTHON_PN}-profile \
16 ${PYTHON_PN}-core \ 16 ${PYTHON_PN}-core \
17" 17"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-mccabe_0.7.0.bb b/meta-python/recipes-devtools/python/python3-mccabe_0.7.0.bb
index a2c72fcc99..265b28a771 100644
--- a/meta-python/recipes-devtools/python/python3-mccabe_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-mccabe_0.7.0.bb
@@ -9,3 +9,5 @@ SRC_URI[sha256sum] = "348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
11DEPENDS += "${PYTHON_PN}-pytest-runner-native" 11DEPENDS += "${PYTHON_PN}-pytest-runner-native"
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
index 413e6599db..bd2faa5b5a 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
@@ -48,3 +48,5 @@ do_install_ptest() {
48 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep 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 49 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
50} 50}
51
52BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb
index e86a3c7898..59e83e00db 100644
--- a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb
+++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb
@@ -27,3 +27,5 @@ do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests 27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29} 29}
30
31BBCLASSEXTEND = "native nativesdk"