summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-02-26 22:56:20 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-02-26 22:56:20 +0000
commitbbae9501d7aeaf230f0cea53b78158c6e19f8c19 (patch)
treed901cd4738162aaa740e35c93be5c0bbc28f9cdd /dev-python/pyclutter-gtk
parentAdded myself to metadata.xml (diff)
downloadgentoo-2-bbae9501d7aeaf230f0cea53b78158c6e19f8c19.tar.gz
gentoo-2-bbae9501d7aeaf230f0cea53b78158c6e19f8c19.tar.bz2
gentoo-2-bbae9501d7aeaf230f0cea53b78158c6e19f8c19.zip
Add initial ebuild for pyclutter-gtk, python bindings for clutter-gtk
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'dev-python/pyclutter-gtk')
-rw-r--r--dev-python/pyclutter-gtk/ChangeLog10
-rw-r--r--dev-python/pyclutter-gtk/metadata.xml5
-rw-r--r--dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0.ebuild43
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pyclutter-gtk/ChangeLog b/dev-python/pyclutter-gtk/ChangeLog
new file mode 100644
index 000000000000..f570e328f3b4
--- /dev/null
+++ b/dev-python/pyclutter-gtk/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pyclutter-gtk
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gtk/ChangeLog,v 1.1 2010/02/26 22:56:20 nirbheek Exp $
+
+*pyclutter-gtk-0.10.0 (26 Feb 2010)
+
+ 26 Feb 2010; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +pyclutter-gtk-0.10.0.ebuild, +metadata.xml:
+ Add initial ebuild for pyclutter-gtk, python bindings for clutter-gtk
+
diff --git a/dev-python/pyclutter-gtk/metadata.xml b/dev-python/pyclutter-gtk/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/dev-python/pyclutter-gtk/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>
diff --git a/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0.ebuild b/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0.ebuild
new file mode 100644
index 000000000000..f9c526c2948b
--- /dev/null
+++ b/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0.ebuild,v 1.1 2010/02/26 22:56:20 nirbheek Exp $
+
+EAPI="2"
+
+inherit python clutter
+
+DESCRIPTION="Python bindings for Clutter-GTK"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+SLOT="1.0"
+RDEPEND=">=dev-lang/python-2.5
+ >=dev-python/pygtk-2.8.0
+ >=dev-python/pyclutter-1.0.0:${SLOT}
+ >=media-libs/clutter-1.0.0:${SLOT}
+ >=media-libs/clutter-gtk-0.10.2:${SLOT}"
+DEPEND="${RDEPEND}
+ doc? ( dev-libs/libxslt )"
+EXAMPLES="examples/*.py"
+DOCS="NEWS AUTHORS README ChangeLog"
+
+src_configure() {
+ # XXX: doc use-flag doesn't do anything yet
+ local myconf="
+ $(use_enable doc docs)"
+
+ econf ${myconf}
+
+ # Don't pre-compile .py
+ ln -sf $(type -P true) py-compile
+}
+
+pkg_postinst() {
+ python_mod_optimize $(python_get_sitedir)/cluttergtk/*
+ python_need_rebuild
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/lib*/python*/site-packages/cluttergtk/*
+}