diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-04-25 15:38:49 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-04-25 15:38:49 +0000 |
commit | 18055ccb166eb8246a6b06e3d36980b19116f7a1 (patch) | |
tree | 44c9221352d3be91547af6e6589d75535014cc85 /games-kids | |
parent | Version bump to ruby-gnome 0.19.4. (diff) | |
download | gentoo-2-18055ccb166eb8246a6b06e3d36980b19116f7a1.tar.gz gentoo-2-18055ccb166eb8246a6b06e3d36980b19116f7a1.tar.bz2 gentoo-2-18055ccb166eb8246a6b06e3d36980b19116f7a1.zip |
Force python2 fixing bug #312253
(Portage version: 2.1.8.3/cvs/Linux i686)
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 |