summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-21 10:26:37 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-21 10:26:37 +0000
commit3a2e81d9ed8b9f2bfe9a377a3fbed2b395688ad2 (patch)
tree0edaa4bf60eccfe0d773777e47fae45f59142490 /games-puzzle/angrydd
parentVersion bump and drop vulnerable version (diff)
downloadgentoo-2-3a2e81d9ed8b9f2bfe9a377a3fbed2b395688ad2.tar.gz
gentoo-2-3a2e81d9ed8b9f2bfe9a377a3fbed2b395688ad2.tar.bz2
gentoo-2-3a2e81d9ed8b9f2bfe9a377a3fbed2b395688ad2.zip
Force python2 . Bug #312265
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/angrydd')
-rw-r--r--games-puzzle/angrydd/ChangeLog7
-rw-r--r--games-puzzle/angrydd/angrydd-1.0.1.ebuild17
2 files changed, 19 insertions, 5 deletions
diff --git a/games-puzzle/angrydd/ChangeLog b/games-puzzle/angrydd/ChangeLog
index f505cb4941bf..996b04140e2d 100644
--- a/games-puzzle/angrydd/ChangeLog
+++ b/games-puzzle/angrydd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/angrydd
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/angrydd/ChangeLog,v 1.5 2007/02/22 01:06:04 peper Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/angrydd/ChangeLog,v 1.6 2010/04/21 10:26:37 tupone Exp $
+
+ 21 Apr 2010; Tupone Alfredo <tupone@gentoo.org> angrydd-1.0.1.ebuild:
+ Force python2 . Bug #312265 by arfrever@gentoo.org
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-puzzle/angrydd/angrydd-1.0.1.ebuild b/games-puzzle/angrydd/angrydd-1.0.1.ebuild
index 8a9b408cc448..f0f5d746a533 100644
--- a/games-puzzle/angrydd/angrydd-1.0.1.ebuild
+++ b/games-puzzle/angrydd/angrydd-1.0.1.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-puzzle/angrydd/angrydd-1.0.1.ebuild,v 1.5 2006/04/26 00:08:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/angrydd/angrydd-1.0.1.ebuild,v 1.6 2010/04/21 10:26:37 tupone Exp $
+EAPI="2"
+PYTHON_DEPEND="2"
-inherit eutils games
+inherit eutils python games
DESCRIPTION="Angry, Drunken Dwarves, a falling blocks game similar to Puzzle Fighter"
HOMEPAGE="http://www.sacredchao.net/~piman/angrydd/"
@@ -16,6 +18,15 @@ IUSE=""
DEPEND=">=dev-python/pygame-1.6.2
>=dev-lang/python-2.3"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
src_install() {
make DESTDIR="${D}" PREFIX="${GAMES_DATADIR}" TO="${PN}" install \
|| die "make install failed"