summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2009-05-10 18:28:08 +0000
committerArun Raghavan <ford_prefect@gentoo.org>2009-05-10 18:28:08 +0000
commit7390fd8701c5b6615ed14fd09fa07786e4801fff (patch)
treea0c3f2edc4e799edd3e429879843421cd2e4035f /dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild
parentVersion bump, removing old. (diff)
downloadhistorical-7390fd8701c5b6615ed14fd09fa07786e4801fff.tar.gz
historical-7390fd8701c5b6615ed14fd09fa07786e4801fff.tar.bz2
historical-7390fd8701c5b6615ed14fd09fa07786e4801fff.zip
Bump to 0.14.1. Also fixes compatibility with new pycairo (bug #269041)
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild')
-rw-r--r--dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild b/dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild
new file mode 100644
index 000000000000..38e645d5e16b
--- /dev/null
+++ b/dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygoocanvas/pygoocanvas-0.14.1.ebuild,v 1.1 2009/05/10 18:28:08 ford_prefect Exp $
+
+GCONF_DEBUG="no"
+
+inherit gnome2 python
+
+DESCRIPTION="GooCanvas python bindings"
+HOMEPAGE="http://live.gnome.org/PyGoocanvas"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples"
+
+RDEPEND=">=dev-python/pygobject-2.11.3
+ >=dev-python/pygtk-2.10.4
+ >=dev-python/pycairo-1.4
+ >=x11-libs/goocanvas-0.14"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? (
+ dev-libs/libxslt
+ dev-util/gtk-doc )"
+
+DOCS="AUTHORS ChangeLog NEWS"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable doc docs)"
+}
+
+src_prepare() {
+ sed -e 's/^\(SUBDIRS =.*\)demo\(.*\)$/\1\2/' \
+ -i Makefile.am Makefile.in || die "sed 1 failed"
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use examples; then
+ rm demo/Makefile*
+ cp -R demo "${D}"/usr/share/doc/${PF}
+ fi
+}
+
+pkg_postinst() {
+ python_need_rebuild
+}