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
committerArmin Kuster <akuster808@gmail.com>2023-10-17 08:23:02 -0400
commitc3db67f7d64e6d6f1d04c09e221c4918bef7de81 (patch)
tree3d0acbeeb87d5a8723868574659b68768aad53e3 /meta-python/recipes-devtools/python/python3-pylint_3.0.0.bb
parentdbc5faaeafe72d3c02ca49e77a894957d98b9bd6 (diff)
downloadmeta-openembedded-c3db67f7d64e6d6f1d04c09e221c4918bef7de81.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> (cherry picked from commit fbb9d270790a7d77926f6a34505399e4f9fc1f51) Signed-off-by: Armin Kuster <akuster808@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"