summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-02-10 22:49:29 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-02-10 22:49:29 +0000
commit42fc72a9efd3f5c34b2802b731bf59039cc52e09 (patch)
tree58efd3b58de926b95032a63afe50192a6c1b7f43 /gnome-extra
parentFix building with USE='X509 hpn' #209479 by Jose daLuz. (diff)
downloadgentoo-2-42fc72a9efd3f5c34b2802b731bf59039cc52e09.tar.gz
gentoo-2-42fc72a9efd3f5c34b2802b731bf59039cc52e09.tar.bz2
gentoo-2-42fc72a9efd3f5c34b2802b731bf59039cc52e09.zip
* fix python eclass use, bug #207667
(Portage version: 2.1.4.1)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/deskbar-applet/ChangeLog6
-rw-r--r--gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild18
2 files changed, 22 insertions, 2 deletions
diff --git a/gnome-extra/deskbar-applet/ChangeLog b/gnome-extra/deskbar-applet/ChangeLog
index 399e20ffe2d1..b71e4c3e2923 100644
--- a/gnome-extra/deskbar-applet/ChangeLog
+++ b/gnome-extra/deskbar-applet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/deskbar-applet
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/deskbar-applet/ChangeLog,v 1.79 2008/02/04 04:26:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/deskbar-applet/ChangeLog,v 1.80 2008/02/10 22:49:29 eva Exp $
+
+ 10 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ deskbar-applet-2.20.3.ebuild:
+ fix python eclass use, bug #207667
04 Feb 2008; Jeroen Roovers <jer@gentoo.org> deskbar-applet-2.20.3.ebuild:
Stable for HPPA (bug #208366).
diff --git a/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild b/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild
index 3860fb033061..d8c5bb5a131e 100644
--- a/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild
+++ b/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild,v 1.7 2008/02/04 04:26:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/deskbar-applet/deskbar-applet-2.20.3.ebuild,v 1.8 2008/02/10 22:49:29 eva Exp $
inherit gnome2 eutils autotools python
@@ -41,15 +41,31 @@ src_unpack() {
# Fix installing libs into pythondir
epatch "${FILESDIR}"/${PN}-2.19.5-multilib.patch
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
+
AT_M4DIR="m4" eautoreconf
}
pkg_postinst() {
gnome2_pkg_postinst
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/deskbar
+ python_mod_optimize /usr/$(get_libdir)/deskbar-applet/modules-2.20-compatible
+
ebeep 5
ewarn "The dictionary plugin in deskbar-applet uses the dictionary from "
ewarn "gnome-utils. If it is not present, the dictionary plugin will "
ewarn "fail silently."
epause 5
}
+
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_version
+ python_mod_cleanup
+}
+