diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-04-07 13:24:49 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-04-07 13:24:49 +0000 |
commit | 5d1ee9cb2fd40194a6b3b82214892c348929ef7a (patch) | |
tree | c247ed9c6ca513918a0919868bad363b94eddd78 /games-sports | |
parent | More prefix fixes, ED instead of D (diff) | |
download | gentoo-2-5d1ee9cb2fd40194a6b3b82214892c348929ef7a.tar.gz gentoo-2-5d1ee9cb2fd40194a6b3b82214892c348929ef7a.tar.bz2 gentoo-2-5d1ee9cb2fd40194a6b3b82214892c348929ef7a.zip |
Force python 2. Bug #312283
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/ski/ChangeLog | 7 | ||||
-rw-r--r-- | games-sports/ski/ski-6.5.ebuild | 20 |
2 files changed, 21 insertions, 6 deletions
diff --git a/games-sports/ski/ChangeLog b/games-sports/ski/ChangeLog index 2130db34dfdd..4f7a4d4acb6b 100644 --- a/games-sports/ski/ChangeLog +++ b/games-sports/ski/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-sports/ski -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ski/ChangeLog,v 1.8 2006/05/30 01:49:46 josejx Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ski/ChangeLog,v 1.9 2010/04/07 13:24:49 tupone Exp $ + + 07 Apr 2010; Alfredo Tupone <tupone@gentoo.org> ski-6.5.ebuild: + Force python 2. Bug #312283 by arfrever@gentoo.org 30 May 2006; Joseph Jezak <josejx@gentoo.org> ski-6.5.ebuild: Marked ppc stable. diff --git a/games-sports/ski/ski-6.5.ebuild b/games-sports/ski/ski-6.5.ebuild index b2ec9bb0011f..d66268e4a484 100644 --- a/games-sports/ski/ski-6.5.ebuild +++ b/games-sports/ski/ski-6.5.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ski/ski-6.5.ebuild,v 1.9 2006/05/30 01:49:46 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/ski/ski-6.5.ebuild,v 1.10 2010/04/07 13:24:49 tupone Exp $ +EAPI=2 +PYTHON_DEPEND="2" -inherit games +inherit python games DESCRIPTION="A simple text-mode skiing game" HOMEPAGE="http://www.catb.org/~esr/ski/" @@ -13,7 +15,12 @@ SLOT="0" KEYWORDS="alpha amd64 ppc x86" IUSE="" -DEPEND="dev-lang/python" +DEPEND="" +RDEPEND="" + +src_prepare() { + python_convert_shebangs -r 2 . +} src_install() { dogamesbin ski || die "dogamesbin failed" @@ -21,3 +28,8 @@ src_install() { dodoc README prepgamesdirs } + +pkg_setup() { + python_set_active_version 2 + games_pkg_setup +} |