summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2007-11-01 22:55:36 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2007-11-01 22:55:36 +0000
commit275bfddcba5e1bef3c37c2d9cc33b20c68d6f1da (patch)
tree0ef8bb5b62a7d0508e32fe14f7dc5770d1a90782 /x11-libs/vte/vte-0.16.9.ebuild
parentFix blocker, should be other way round (diff)
downloadgentoo-2-275bfddcba5e1bef3c37c2d9cc33b20c68d6f1da.tar.gz
gentoo-2-275bfddcba5e1bef3c37c2d9cc33b20c68d6f1da.tar.bz2
gentoo-2-275bfddcba5e1bef3c37c2d9cc33b20c68d6f1da.zip
fix bug 197787 and fix quoting
(Portage version: 2.1.3.16)
Diffstat (limited to 'x11-libs/vte/vte-0.16.9.ebuild')
-rw-r--r--x11-libs/vte/vte-0.16.9.ebuild23
1 files changed, 19 insertions, 4 deletions
diff --git a/x11-libs/vte/vte-0.16.9.ebuild b/x11-libs/vte/vte-0.16.9.ebuild
index d398889f2403..10d5c31dfef4 100644
--- a/x11-libs/vte/vte-0.16.9.ebuild
+++ b/x11-libs/vte/vte-0.16.9.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.16.9.ebuild,v 1.1 2007/09/21 19:14:59 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.16.9.ebuild,v 1.2 2007/11/01 22:55:36 eva Exp $
-inherit eutils gnome2 autotools
+inherit eutils gnome2 autotools python
DESCRIPTION="Gnome terminal widget"
HOMEPAGE="http://www.gnome.org/"
@@ -49,9 +49,24 @@ src_unpack() {
# Fix LINGUAS handling, remove when upstream fixes their po/Makefile.in.in
#intltoolize --force || die
- epatch ${FILESDIR}/${PN}-0.13.2-no-lazy-bindings.patch
- cd ${S}/gnome-pty-helper
+ epatch "${FILESDIR}/${PN}-0.13.2-no-lazy-bindings.patch"
+ cd "${S}/gnome-pty-helper"
# eautoreconf will break on systems without gtk-doc
eautomake
}
+
+pkg_postinst() {
+ if use python; then
+ python_version
+ python_mod_optimize "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0"
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ python_version
+ python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0"
+ fi
+}
+