summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 16:46:16 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 16:46:16 +0000
commita9b53df2d09af1a570ba41c15591a5345facaeb1 (patch)
tree5c263ac123e109ad48cae3af0e4a6e47aa25c2e7 /dev-util/eric/eric-4.1.1.ebuild
parentDrop redundant python_version in pkg_postrm. (diff)
downloadgentoo-2-a9b53df2d09af1a570ba41c15591a5345facaeb1.tar.gz
gentoo-2-a9b53df2d09af1a570ba41c15591a5345facaeb1.tar.bz2
gentoo-2-a9b53df2d09af1a570ba41c15591a5345facaeb1.zip
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-util/eric/eric-4.1.1.ebuild')
-rw-r--r--dev-util/eric/eric-4.1.1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-util/eric/eric-4.1.1.ebuild b/dev-util/eric/eric-4.1.1.ebuild
index 500536792f04..6ec8a1a1a93e 100644
--- a/dev-util/eric/eric-4.1.1.ebuild
+++ b/dev-util/eric/eric-4.1.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/dev-util/eric/eric-4.1.1.ebuild,v 1.2 2008/04/14 11:40:58 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.1.1.ebuild,v 1.3 2008/05/29 16:46:16 hawking Exp $
NEED_PYTHON=2.4
@@ -62,7 +62,8 @@ src_install() {
}
pkg_postinst() {
- python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/eric4{,plugins}
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/eric4{,plugins}
elog "If you want to use eric4 with mod_python, have a look at"
elog "\"${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric4/patch_modpython.py\"."
elog
@@ -75,6 +76,6 @@ pkg_postinst() {
elog "the App itself. You may want to check those as well"
}
-pkg_posrm() {
- python_mod_cleanup "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/eric4{,plugins}
+pkg_postrm() {
+ python_mod_cleanup
}