summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/ChangeLog5
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog
index 9d6180671fd0..3ad5410a714d 100644
--- a/games-rpg/freedroidrpg/ChangeLog
+++ b/games-rpg/freedroidrpg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/freedroidrpg
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.25 2010/03/24 14:01:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.26 2010/04/19 07:19:26 tupone Exp $
+
+ 19 Apr 2010; Tupone Alfredo <tupone@gentoo.org> freedroidrpg-0.13.ebuild:
+ Force python2 version. Fix bug #312275 by arfrever@gentoo.org
24 Mar 2010; Brent Baude <ranger@gentoo.org> freedroidrpg-0.13.ebuild:
stable ppc, bug 307083
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild
index 1fdd621db0af..2a909cbfdc29 100644
--- a/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild
+++ b/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild,v 1.3 2010/03/24 14:01:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild,v 1.4 2010/04/19 07:19:26 tupone Exp $
EAPI=2
-inherit autotools eutils games
+PYTHON_DEPEND="2"
+inherit autotools eutils python games
DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
HOMEPAGE="http://freedroid.sourceforge.net/"
@@ -30,10 +31,17 @@ DEPEND="${RDEPEND}
x11-libs/libXt
dev-lang/python"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
src_prepare() {
rm -rf lua src/SDL_rotozoom*
epatch "${FILESDIR}"/${P}-syslibs.patch
+ python_convert_shebangs -r 2 .
+
# No need for executable game resources
find sound graphics -type f -exec chmod -c a-x '{}' +
eautoreconf