summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/guider/guider_3.9.6.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/guider/guider_3.9.6.bb b/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
index c8ddb15080..397e0cb9a3 100644
--- a/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
+++ b/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
@@ -16,7 +16,7 @@ SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4"
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17R = "${RECIPE_SYSROOT}" 17R = "${RECIPE_SYSROOT}"
18 18
19inherit distutils3 19inherit distutils
20 20
21GUIDER_OBJ = "guider.pyc" 21GUIDER_OBJ = "guider.pyc"
22GUIDER_SCRIPT = "guider" 22GUIDER_SCRIPT = "guider"
@@ -31,5 +31,9 @@ do_install() {
31 install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ} 31 install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ}
32} 32}
33 33
34RDEPENDS_${PN} = "python3-ctypes python3-shell \ 34RDEPENDS_${PN} = "python-ctypes python-shell \
35 python3-json python3-subprocess" 35 python-json python-subprocess"
36python() {
37 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
38 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
39}