diff options
-rw-r--r-- | meta-oe/recipes-devtools/guider/guider_3.9.6.bb | 10 |
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" | |||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | R = "${RECIPE_SYSROOT}" | 17 | R = "${RECIPE_SYSROOT}" |
18 | 18 | ||
19 | inherit distutils3 | 19 | inherit distutils |
20 | 20 | ||
21 | GUIDER_OBJ = "guider.pyc" | 21 | GUIDER_OBJ = "guider.pyc" |
22 | GUIDER_SCRIPT = "guider" | 22 | GUIDER_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 | ||
34 | RDEPENDS_${PN} = "python3-ctypes python3-shell \ | 34 | RDEPENDS_${PN} = "python-ctypes python-shell \ |
35 | python3-json python3-subprocess" | 35 | python-json python-subprocess" |
36 | python() { | ||
37 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
38 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
39 | } | ||