summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/root')
-rw-r--r--sci-physics/root/ChangeLog8
-rw-r--r--sci-physics/root/root-5.26.00-r4.ebuild8
2 files changed, 11 insertions, 5 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog
index 3784818b92fb..d8a90134e280 100644
--- a/sci-physics/root/ChangeLog
+++ b/sci-physics/root/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-physics/root
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.70 2010/06/25 20:38:40 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.71 2010/06/25 22:13:38 arfrever Exp $
+
+ 25 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ root-5.26.00-r4.ebuild:
+ Fix usage of python_set_active_version() and python_mod_optimize(), use
+ python_mod_cleanup() instead of python_mod_optimize() in pkg_postrm() (bug
+ #316247).
25 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org>
-root-5.22.00-r3.ebuild, -root-5.24.00-r1.ebuild, -root-5.26.00-r3.ebuild,
diff --git a/sci-physics/root/root-5.26.00-r4.ebuild b/sci-physics/root/root-5.26.00-r4.ebuild
index acab83ca6814..5d485caa4adc 100644
--- a/sci-physics/root/root-5.26.00-r4.ebuild
+++ b/sci-physics/root/root-5.26.00-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00-r4.ebuild,v 1.2 2010/06/25 20:38:40 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00-r4.ebuild,v 1.3 2010/06/25 22:13:38 arfrever Exp $
EAPI=3
@@ -100,7 +100,7 @@ pkg_setup() {
export USE_OPENMP=1
use math && export USE_PARALLEL_MINUIT2=1
fi
- python_set_active_version 2
+ use python && python_set_active_version 2
}
src_prepare() {
@@ -298,10 +298,10 @@ src_install() {
pkg_postinst() {
use ruby && elog "ROOT Ruby module is available as libRubyROOT"
fdo-mime_desktop_database_update
- use python && python_mod_optimize "${EPREFIX}"/usr/$(get_libdir)/root
+ use python && python_mod_optimize /usr/$(get_libdir)/root
}
pkg_postrm() {
fdo-mime_desktop_database_update
- use python && python_mod_optimize "${EPREFIX}"/usr/$(get_libdir)/root
+ use python && python_mod_cleanup /usr/$(get_libdir)/root
}