diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-16 02:10:37 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-16 02:10:37 +0000 |
commit | 4138786c58f17b8701e11100f5d5e86b2531c008 (patch) | |
tree | bd5823fb3f842b723cb4048b836980647e6c85ce /games-kids | |
parent | Delete call to deprecated python_version() (bug #324195). (diff) | |
download | gentoo-2-4138786c58f17b8701e11100f5d5e86b2531c008.tar.gz gentoo-2-4138786c58f17b8701e11100f5d5e86b2531c008.tar.bz2 gentoo-2-4138786c58f17b8701e11100f5d5e86b2531c008.zip |
Fix usage of python_set_active_version(), call python_pkg_setup(), simplify src_configure() (bug #324195).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-9.2.2.ebuild | 11 |
2 files changed, 12 insertions, 6 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 73ed6f16de4e..0a1e0ef7cbbe 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-kids/gcompris # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.52 2010/06/16 02:08:07 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.53 2010/06/16 02:10:37 arfrever Exp $ + + 16 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + gcompris-9.2.2.ebuild: + Fix usage of python_set_active_version(), call python_pkg_setup(), + simplify src_configure() (bug #324195). 16 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> gcompris-8.4.12.ebuild: diff --git a/games-kids/gcompris/gcompris-9.2.2.ebuild b/games-kids/gcompris/gcompris-9.2.2.ebuild index 865fb40d879b..ad3370c8b4a6 100644 --- a/games-kids/gcompris/gcompris-9.2.2.ebuild +++ b/games-kids/gcompris/gcompris-9.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.2.2.ebuild,v 1.4 2010/05/31 19:24:19 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.2.2.ebuild,v 1.5 2010/06/16 02:10:37 arfrever Exp $ EAPI=2 @@ -47,7 +47,10 @@ RDEPEND="${RDEPEND} S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) pkg_setup() { - python_set_active_version 2 + if use python; then + python_set_active_version 2 + python_pkg_setup + fi games_pkg_setup } @@ -58,8 +61,6 @@ src_prepare() { } src_configure() { - local python_version="$(PYTHON -a)" - GNUCHESS="${GAMES_BINDIR}"/gnuchess \ egamesconf \ --disable-dependency-tracking \ @@ -67,7 +68,7 @@ src_configure() { --datadir="${GAMES_DATADIR}" \ --localedir=/usr/share/locale \ --infodir=/usr/share/info \ - $(use_with python python "${python_version}") \ + $(use_with python python "$(PYTHON -a)") \ $(use_enable debug) \ $(use_enable gnet) \ --enable-sqlite \ |