mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
963fc79e27
commit
fbb9d27079
|
|
@ -34,3 +34,5 @@ RDEPENDS:${PN}-tests:class-target += "\
|
|||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-xml \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ RDEPENDS:${PN} += "\
|
|||
${PYTHON_PN}-profile \
|
||||
${PYTHON_PN}-core \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
|
|
@ -9,3 +9,5 @@ SRC_URI[sha256sum] = "348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f
|
|||
inherit pypi setuptools3
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
|
|
@ -48,3 +48,5 @@ do_install_ptest() {
|
|||
install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
|
||||
sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
|
|
@ -27,3 +27,5 @@ do_install_ptest() {
|
|||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user