summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-29 15:37:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-29 15:37:45 +0000
commit2acd7528104f5bcb7fd8a509625a7efab4f00213 (patch)
tree3eedad4b8561bc50f63af3fb8edbf011be2b165f /games-board/gnubg
parentwhitespace (diff)
downloadgentoo-2-2acd7528104f5bcb7fd8a509625a7efab4f00213.tar.gz
gentoo-2-2acd7528104f5bcb7fd8a509625a7efab4f00213.tar.bz2
gentoo-2-2acd7528104f5bcb7fd8a509625a7efab4f00213.zip
Force python2 fixing bug #312239
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog5
-rw-r--r--games-board/gnubg/gnubg-20100107.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index a684340438d4..6b3db5729139 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/gnubg
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.53 2010/02/27 18:03:01 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.54 2010/04/29 15:37:45 tupone Exp $
+
+ 29 Apr 2010; Tupone Alfredo <tupone@gentoo.org> gnubg-20100107.ebuild:
+ Force python2 fixing bug #312239 by arfrever@gentoo.org
27 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
gnubg-20100107.ebuild:
diff --git a/games-board/gnubg/gnubg-20100107.ebuild b/games-board/gnubg/gnubg-20100107.ebuild
index 424554e4238f..92f7f84fb993 100644
--- a/games-board/gnubg/gnubg-20100107.ebuild
+++ b/games-board/gnubg/gnubg-20100107.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-board/gnubg/gnubg-20100107.ebuild,v 1.3 2010/02/27 18:03:01 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v 1.4 2010/04/29 15:37:45 tupone Exp $
EAPI=2
-inherit autotools eutils games
+PYTHON_DEPEND="python? 2"
+inherit autotools eutils python games
DESCRIPTION="GNU BackGammon"
HOMEPAGE="http://www.gnubg.org/"
@@ -40,6 +41,11 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
src_prepare() {
# use ${T} instead of /tmp for constructing credits (bug #298275)
sed -i \
@@ -47,6 +53,7 @@ src_prepare() {
credits.sh \
|| die 'sed failed'
epatch "${FILESDIR}"/${P}-build.patch
+ python_convert_shebangs -r 2 python-config
eautoreconf
}