[oe-commits] Koen Kooi : python-pygobject-native 2.20: fix configure and convert to new-style staging
git version control
git at git.openembedded.org
Mon Feb 15 15:31:02 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: b8c29b12f258838f0dd0b66022de8301e7806aaf
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b8c29b12f258838f0dd0b66022de8301e7806aaf
Author: Koen Kooi <koen at openembedded.org>
Date: Mon Feb 15 11:15:38 2010 +0100
python-pygobject-native 2.20: fix configure and convert to new-style staging
---
recipes/python/python-pygobject-native_2.20.0.bb | 14 +++++++++-----
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 918ffa2..409481c 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
}
More information about the Openembedded-commits
mailing list