summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-02-18 07:46:46 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-02-18 07:46:46 +0000
commit72a799647747a7bb07f0261adc4f62a0a0cfcc71 (patch)
treee5018927ee2edc53b6d8fa8db9c4427de28a98d3 /dev-python
parent[bump] dev-perl/Period-1.220 (diff)
downloadgentoo-2-72a799647747a7bb07f0261adc4f62a0a0cfcc71.tar.gz
gentoo-2-72a799647747a7bb07f0261adc4f62a0a0cfcc71.tar.bz2
gentoo-2-72a799647747a7bb07f0261adc4f62a0a0cfcc71.zip
Fix bug 345515
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyclutter-gtk/ChangeLog10
-rw-r--r--dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0-r1.ebuild52
2 files changed, 60 insertions, 2 deletions
diff --git a/dev-python/pyclutter-gtk/ChangeLog b/dev-python/pyclutter-gtk/ChangeLog
index e5e607a9a8b7..df0bae9b8a7e 100644
--- a/dev-python/pyclutter-gtk/ChangeLog
+++ b/dev-python/pyclutter-gtk/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2010/12/24 13:35:26 nirbheek Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gtk/ChangeLog,v 1.3 2011/02/18 07:46:46 nirbheek Exp $
+
+*pyclutter-gtk-0.10.0-r1 (18 Feb 2011)
+
+ 18 Feb 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +pyclutter-gtk-0.10.0-r1.ebuild:
+ Fix bug 345515
24 Dec 2010; <nirbheek@gentoo.org> pyclutter-gtk-0.10.0.ebuild:
slotmove =media-libs/clutter-gtk-0.10* 1.0 0.10
diff --git a/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0-r1.ebuild b/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0-r1.ebuild
new file mode 100644
index 000000000000..d2e256efc6af
--- /dev/null
+++ b/dev-python/pyclutter-gtk/pyclutter-gtk-0.10.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 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-r1.ebuild,v 1.1 2011/02/18 07:46:46 nirbheek Exp $
+
+EAPI="2"
+PYTHON_DEPEND="2:2.6"
+
+inherit python clutter
+
+DESCRIPTION="Python bindings for Clutter-GTK"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+SLOT="0.10"
+RDEPEND="
+ >=dev-python/pygtk-2.8.0
+ >=dev-python/pyclutter-1.0.0:1.0
+ >=media-libs/clutter-1.0.0:1.0
+ >=media-libs/clutter-gtk-0.10.2:${SLOT}"
+DEPEND="${RDEPEND}
+ doc? ( dev-libs/libxslt )"
+EXAMPLES="examples/*.py"
+DOCS="NEWS AUTHORS README ChangeLog"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ # Don't pre-compile .py
+ ln -sf $(type -P true) py-compile
+ python_convert_shebangs --recursive 2 examples
+ default_src_prepare
+}
+
+src_configure() {
+ # XXX: doc use-flag doesn't do anything yet
+ local myconf="
+ $(use_enable doc docs)"
+
+ econf ${myconf}
+}
+
+pkg_postinst() {
+ python_mod_optimize $(python_get_sitedir)/cluttergtk/
+ python_need_rebuild
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/lib*/python*/site-packages/cluttergtk
+}