summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-17 14:22:58 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-17 14:22:58 +0000
commit4f14796ee54150508a4cba96abbf7dec9a7fe66d (patch)
tree410c36614209d5d6fd293394ef7f84aa93172640 /sci-geosciences
parentDelete older ebuild. (diff)
downloadgentoo-2-4f14796ee54150508a4cba96abbf7dec9a7fe66d.tar.gz
gentoo-2-4f14796ee54150508a4cba96abbf7dec9a7fe66d.tar.bz2
gentoo-2-4f14796ee54150508a4cba96abbf7dec9a7fe66d.zip
Fix usage of python_set_active_version().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/grass/ChangeLog6
-rw-r--r--sci-geosciences/grass/grass-6.4.0_rc6.ebuild8
2 files changed, 10 insertions, 4 deletions
diff --git a/sci-geosciences/grass/ChangeLog b/sci-geosciences/grass/ChangeLog
index a626a8af8c26..9678cbba2556 100644
--- a/sci-geosciences/grass/ChangeLog
+++ b/sci-geosciences/grass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/grass
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.85 2010/06/17 07:28:03 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.86 2010/06/17 14:22:58 arfrever Exp $
+
+ 17 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ grass-6.4.0_rc6.ebuild:
+ Fix usage of python_set_active_version().
17 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
files/grass-6.4.0_rc6-html-nonviz.patch:
diff --git a/sci-geosciences/grass/grass-6.4.0_rc6.ebuild b/sci-geosciences/grass/grass-6.4.0_rc6.ebuild
index 5d89ebd88586..62d4636a5691 100644
--- a/sci-geosciences/grass/grass-6.4.0_rc6.ebuild
+++ b/sci-geosciences/grass/grass-6.4.0_rc6.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-geosciences/grass/grass-6.4.0_rc6.ebuild,v 1.7 2010/06/15 12:20:14 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.0_rc6.ebuild,v 1.8 2010/06/17 14:22:58 arfrever Exp $
EAPI="3"
@@ -121,8 +121,10 @@ pkg_setup() {
use wxwidgets && ! use X && ewarn "For wxwidgets support X useflag must be enabled"
use wxwidgets && ! use python && ewarn "For wxwidgets support python useflag must be enabled"
- # only py2 is supported
- python_set_active_version 2
+ if use python; then
+ # only py2 is supported
+ python_set_active_version 2
+ fi
}
src_prepare() {