summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-30 07:21:18 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-30 07:21:18 +0000
commit42368969ea2e715853fc52c78b41a0bbaec496b0 (patch)
tree9f5c631a123efe67ece6d518cedaaa83ef124ce4 /games-board
parentVersion bump (diff)
downloadgentoo-2-42368969ea2e715853fc52c78b41a0bbaec496b0.tar.gz
gentoo-2-42368969ea2e715853fc52c78b41a0bbaec496b0.tar.bz2
gentoo-2-42368969ea2e715853fc52c78b41a0bbaec496b0.zip
Force python2 fixing bug #312237
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnome-hearts/ChangeLog5
-rw-r--r--games-board/gnome-hearts/gnome-hearts-0.3.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/games-board/gnome-hearts/ChangeLog b/games-board/gnome-hearts/ChangeLog
index bd0d0584821e..938a3d2c3336 100644
--- a/games-board/gnome-hearts/ChangeLog
+++ b/games-board/gnome-hearts/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/gnome-hearts
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.3 2010/03/16 18:20:37 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.4 2010/04/30 07:21:18 tupone Exp $
+
+ 30 Apr 2010; Tupone Alfredo <tupone@gentoo.org> gnome-hearts-0.3.ebuild:
+ Force python2 fixing bug #312237 by arfrever@gentoo.org
16 Mar 2010; Christian Faulhammer <fauli@gentoo.org>
gnome-hearts-0.3.ebuild:
diff --git a/games-board/gnome-hearts/gnome-hearts-0.3.ebuild b/games-board/gnome-hearts/gnome-hearts-0.3.ebuild
index 00d158079b36..c1677db2506a 100644
--- a/games-board/gnome-hearts/gnome-hearts-0.3.ebuild
+++ b/games-board/gnome-hearts/gnome-hearts-0.3.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/gnome-hearts-0.3.ebuild,v 1.3 2010/03/16 18:20:37 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/gnome-hearts-0.3.ebuild,v 1.4 2010/04/30 07:21:18 tupone Exp $
EAPI=2
GCONF_DEBUG=no
-inherit autotools eutils gnome2 games
+PYTHON_DEPEND="2"
+inherit autotools eutils python gnome2 games
DESCRIPTION="A clone of classic hearts card game"
HOMEPAGE="http://www.gnome-hearts.org"
@@ -17,8 +18,7 @@ IUSE="nls"
RDEPEND="x11-libs/gtk+:2
>=gnome-base/libglade-2
- >=gnome-base/libgnomeui-2
- dev-lang/python"
+ >=gnome-base/libgnomeui-2"
DEPEND="${RDEPEND}
app-text/rarian
dev-util/intltool
@@ -26,6 +26,11 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README TODO"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
src_prepare() {
# make src_test work
echo gnome-hearts.desktop.in >> po/POTFILES.skip