summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-07 21:34:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-07 21:34:57 +0000
commit93d4527916211eb60c4916488aa8cb254b6e3009 (patch)
tree7a215c3912cb41c258cc131dadd6a2de28fb27c3 /games-board
parentfixed importing issue (diff)
downloadgentoo-2-93d4527916211eb60c4916488aa8cb254b6e3009.tar.gz
gentoo-2-93d4527916211eb60c4916488aa8cb254b6e3009.tar.bz2
gentoo-2-93d4527916211eb60c4916488aa8cb254b6e3009.zip
Set "python_set_active_version 2" to ensure used python is 2.
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pysolfc/ChangeLog5
-rw-r--r--games-board/pysolfc/pysolfc-2.0.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/games-board/pysolfc/ChangeLog b/games-board/pysolfc/ChangeLog
index fa590565d377..82a1ed2a81a4 100644
--- a/games-board/pysolfc/ChangeLog
+++ b/games-board/pysolfc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/pysolfc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.1 2010/03/07 21:02:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.2 2010/03/07 21:34:57 ssuominen Exp $
+
+ 07 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> pysolfc-2.0.ebuild:
+ Set "python_set_active_version 2" to ensure used python is 2.
*pysolfc-2.0 (07 Mar 2010)
diff --git a/games-board/pysolfc/pysolfc-2.0.ebuild b/games-board/pysolfc/pysolfc-2.0.ebuild
index b70665cef330..67978ec2ce10 100644
--- a/games-board/pysolfc/pysolfc-2.0.ebuild
+++ b/games-board/pysolfc/pysolfc-2.0.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/games-board/pysolfc/pysolfc-2.0.ebuild,v 1.2 2010/03/07 21:04:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/pysolfc-2.0.ebuild,v 1.3 2010/03/07 21:34:57 ssuominen Exp $
EAPI=2
@@ -28,6 +28,11 @@ RDEPEND="sound? ( dev-python/pygame )
!minimal? ( dev-python/imaging[tk]
dev-tcltk/tktable )"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
src_prepare() {
distutils_src_prepare