From d823dbe5f8f29369803ca4360ad4e252515823d0 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Fri, 16 May 2014 09:33:49 +0200 Subject: [PATCH 6/6] arch: use python2 as interpreter for gobject introspection config use full path for python env, since shebangs are created --- recipes/gobject-introspection.recipe | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/gobject-introspection.recipe b/recipes/gobject-introspection.recipe index d3445fc..61e83aa 100644 --- a/recipes/gobject-introspection.recipe +++ b/recipes/gobject-introspection.recipe @@ -87,3 +87,9 @@ class Recipe(recipe.Recipe): self.configure_options += ' --with-gir-dir=$CERBERO_PREFIX/share/gir-1.0/%s ' % arch super(Recipe, self).configure() + # on arch python2 needs to be specified as the interpreter + # the full path needs to be specified, since shebangs are generated + def prepare(self): + if self.config.target_distro == Distro.ARCH: + self.config_sh = "PYTHON=/usr/bin/python2 %s" % self.config_sh + -- 2.0.0