add python-gobject bindings
authorMichael Lauer <mickey@vanille-media.de>
Sun, 15 Oct 2006 22:37:35 +0000 (22:37 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sun, 15 Oct 2006 22:37:35 +0000 (22:37 +0000)
packages/python/python-pygobject-native_2.12.2.bb [new file with mode: 0644]
packages/python/python-pygobject_2.12.2.bb [new file with mode: 0644]
packages/python/python-pygtk2_2.8.6.bb

diff --git a/packages/python/python-pygobject-native_2.12.2.bb b/packages/python/python-pygobject-native_2.12.2.bb
new file mode 100644 (file)
index 0000000..c93950b
--- /dev/null
@@ -0,0 +1,3 @@
+require python-pygobject_${PV}.bb
+
+DEPENDS = "python-native"
diff --git a/packages/python/python-pygobject_2.12.2.bb b/packages/python/python-pygobject_2.12.2.bb
new file mode 100644 (file)
index 0000000..b184599
--- /dev/null
@@ -0,0 +1,15 @@
+DESCRIPTION = "Python GObject bindings"
+SECTION = "devel/python"
+LICENSE = "LGPL"
+PR = "ml0"
+
+SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2"
+S = "${WORKDIR}/pygobject-${PV}"
+
+inherit autotools distutils-base pkgconfig
+
+do_stage() {
+       autotools_stage_all
+       install -d ${STAGING_LIBDIR}/../share/pygobject/
+       cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/
+}
index 55e33ea..d1f65ea 100644 (file)
@@ -1,11 +1,11 @@
 DESCRIPTION = "Python GTK+ Bindings"
 SECTION = "devel/python"
-PRIORITY = "optional"
+# needs gtk+-2.8.x
 DEPENDS = "gtk+ libglade"
 RDEPENDS = "python-shell"
 SRCNAME = "pygtk"
 LICENSE = "LGPL"
-PR = "r0"
+PR = "ml0"
 
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/${SRCNAME}-${PV}.tar.bz2 \
            file://acinclude.m4"