summaryrefslogtreecommitdiff
path: root/recipes/python/python-pygobject-native_2.20.0.bb
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2010-02-28 20:47:24 +0000
committerPhil Blundell <philb@gnu.org>2010-02-28 20:47:24 +0000
commitdc352c9d9da30ec3d77aa58a7f535ce19871867d (patch)
tree6a7d1986bb92191974b230a9d9c12adb9095ff45 /recipes/python/python-pygobject-native_2.20.0.bb
parentfd2bed3297f3b76a8a6b18ba599e7d9d71d2c045 (diff)
parentd58b4cdd9664e1926a4e14a575ba0bef4c2302ed (diff)
Merge branch 'org.openembedded.dev' of new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python/python-pygobject-native_2.20.0.bb')
-rw-r--r--recipes/python/python-pygobject-native_2.20.0.bb14
1 files changed, 9 insertions, 5 deletions
diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb
index 918ffa2643..409481c2bf 100644
--- a/recipes/python/python-pygobject-native_2.20.0.bb
+++ b/recipes/python/python-pygobject-native_2.20.0.bb
@@ -1,11 +1,11 @@
require python-pygobject_${PV}.bb
+inherit native
+
DEPENDS = "python-native glib-2.0-native"
PARALLEL_MAKE = ""
-inherit native
-
SRC_URI = "\
ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
# file://python-path.patch;patch=1 \
@@ -13,7 +13,11 @@ SRC_URI = "\
export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
-do_stage_append() {
- install -d ${STAGING_BINDIR}
- install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants
+do_configure_prepend() {
+ unset PYTHONPATH
+}
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants
}