summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
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 /meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb2
1 files changed, 2 insertions, 0 deletions
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"