summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 17:44:16 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 17:44:16 +0000
commitb7ae90b3a7985442bdeb1d450a7e04f792a3aa64 (patch)
tree07bde9fc4fa9e16129b7fe339b22015f2b68aa13 /net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
parentpython_mod_{cleanup,optimize} are ROOT aware. Inherit multilib. (diff)
downloadgentoo-2-b7ae90b3a7985442bdeb1d450a7e04f792a3aa64.tar.gz
gentoo-2-b7ae90b3a7985442bdeb1d450a7e04f792a3aa64.tar.bz2
gentoo-2-b7ae90b3a7985442bdeb1d450a7e04f792a3aa64.zip
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
(Portage version: 2.1.5.2)
Diffstat (limited to 'net-misc/gnome-blog/gnome-blog-0.9.1.ebuild')
-rw-r--r--net-misc/gnome-blog/gnome-blog-0.9.1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild b/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
index 9644ddb48c1a..5b1efc68c189 100644
--- a/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild
+++ b/net-misc/gnome-blog/gnome-blog-0.9.1.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/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild,v 1.6 2008/04/12 13:46:39 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.1.ebuild,v 1.7 2008/05/29 17:44:16 hawking Exp $
inherit gnome2 python
@@ -37,11 +37,10 @@ src_unpack () {
pkg_postinst() {
gnome2_pkg_postinst
python_version
- python_mod_optimize "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/gnomeblog
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gnomeblog
}
pkg_postrm() {
gnome2_pkg_postrm
- python_version
- python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gnomeblog
+ python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gnomeblog
}