@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=blueprint-0-22;tag=v${PV}"
SRCREV = "ed35ac74de0c1bb1f5e852410b97edd1f08904c9"
-inherit meson pkgconfig python3-dir gobject-introspection-data
+inherit python_mesonpy pkgconfig gobject-introspection-data
# The compiler needs python3-pygobject on target, which is skipped without
# GI data (which also depends on qemu-usermode), so skip along with it.
@@ -15,11 +15,6 @@ python() {
raise bb.parse.SkipRecipe("GI not available")
}
-do_install:append () {
- # Meson encodes the full path of the build python in the shebang
- sed -i -e '1s|^#!.*|#!${USRBINPATH}/env python3|' ${D}${bindir}/blueprint-compiler
-}
-
RDEPENDS:${PN} = "python3-pygobject"
BBCLASSEXTEND = "native"
This way mesonpy builds a wheel which we install with the conventional pep517 classes, which will fix the interpreter on the entry point for us. Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../blueprint-compiler/blueprint-compiler_0.22.2.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)