diff options
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/pytraffic/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/pytraffic/pytraffic-2.5.4.ebuild | 14 |
2 files changed, 15 insertions, 6 deletions
diff --git a/games-kids/pytraffic/ChangeLog b/games-kids/pytraffic/ChangeLog index bc87351faabd..01fc4b423744 100644 --- a/games-kids/pytraffic/ChangeLog +++ b/games-kids/pytraffic/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-kids/pytraffic -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.10 2009/02/22 15:54:44 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.11 2010/04/25 15:38:49 tupone Exp $ + + 25 Apr 2010; Tupone Alfredo <tupone@gentoo.org> pytraffic-2.5.4.ebuild: + Force python2 fixing bug #312253 by arfrever@gentoo.org 22 Feb 2009; Raúl Porcel <armin76@gentoo.org> pytraffic-2.5.4.ebuild: x86 stable wrt #257812 diff --git a/games-kids/pytraffic/pytraffic-2.5.4.ebuild b/games-kids/pytraffic/pytraffic-2.5.4.ebuild index 624ce7ace865..26142bfbe2ef 100644 --- a/games-kids/pytraffic/pytraffic-2.5.4.ebuild +++ b/games-kids/pytraffic/pytraffic-2.5.4.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild,v 1.4 2009/02/22 15:54:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild,v 1.5 2010/04/25 15:38:49 tupone Exp $ +PYTHON_DEPEND="2" -inherit distutils eutils games +inherit python distutils eutils games DESCRIPTION="Python version of the board game Rush Hour" HOMEPAGE="http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/" @@ -34,7 +35,7 @@ src_install() { dosym {"$(games_get_libdir)","${GAMES_DATADIR}"}/${PN}/_sdl_mixer.so \ || die "dosym _sdl_mixer.so failed" - games_make_wrapper ${PN} "python ./Main.py" "${GAMES_DATADIR}"/${PN} + games_make_wrapper ${PN} "$(PYTHON) ./Main.py" "${GAMES_DATADIR}"/${PN} doicon icons/64x64/${PN}.png make_desktop_entry ${PN} PyTraffic @@ -44,6 +45,11 @@ src_install() { prepgamesdirs } +pkg_setup() { + python_set_active_version 2 + games_pkg_setup +} + pkg_postinst() { distutils_pkg_postinst games_pkg_postinst |