summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-19 07:19:26 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-19 07:19:26 +0000
commit97d580e8075430f891ff50e9c703f1ae8d0b01cd (patch)
treece250ae056eab5832de610cf909802b0dd46a4e9 /games-rpg/freedroidrpg
parentRemoved old version, removed python support, as numeric is gone (diff)
downloadgentoo-2-97d580e8075430f891ff50e9c703f1ae8d0b01cd.tar.gz
gentoo-2-97d580e8075430f891ff50e9c703f1ae8d0b01cd.tar.bz2
gentoo-2-97d580e8075430f891ff50e9c703f1ae8d0b01cd.zip
Force python2 version. Fix bug #312275
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-rpg/freedroidrpg')
-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