public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-sports/ski: ChangeLog ski-6.5.ebuild
@ 2010-04-07 13:24 Alfredo Tupone (tupone)
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2010-04-07 13:24 UTC (permalink / raw
  To: gentoo-commits

tupone      10/04/07 13:24:49

  Modified:             ChangeLog ski-6.5.ebuild
  Log:
  Force python 2. Bug #312283
  (Portage version: 2.1.7.17/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  games-sports/ski/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-sports/ski/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	30 May 2006 01:49:46 -0000	1.8
+++ ChangeLog	7 Apr 2010 13:24:49 -0000	1.9
@@ -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.



1.10                 games-sports/ski/ski-6.5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ski-6.5.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ski-6.5.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ski/ski-6.5.ebuild?r1=1.9&r2=1.10

Index: ski-6.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-sports/ski/ski-6.5.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ski-6.5.ebuild	30 May 2006 01:49:46 -0000	1.9
+++ ski-6.5.ebuild	7 Apr 2010 13:24:49 -0000	1.10
@@ -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 @@
 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 @@
 	dodoc README
 	prepgamesdirs
 }
+
+pkg_setup() {
+	python_set_active_version 2
+	games_pkg_setup
+}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-07 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07 13:24 [gentoo-commits] gentoo-x86 commit in games-sports/ski: ChangeLog ski-6.5.ebuild Alfredo Tupone (tupone)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox