From 0d83cea299af7dfb14f479b0c8a19958571ed946 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 12 Jul 2010 17:07:46 +0000 Subject: EAPI=2; replace built_with_use with has_version (Portage version: 2.1.8.3/cvs/Linux i686) --- games-rpg/nwn-cep/ChangeLog | 6 +++++- games-rpg/nwn-cep/metadata.xml | 4 ---- games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild | 6 +++--- games-rpg/nwn-cep/nwn-cep-2.0.ebuild | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'games-rpg') diff --git a/games-rpg/nwn-cep/ChangeLog b/games-rpg/nwn-cep/ChangeLog index 38117d362371..ccbfdb30845c 100644 --- a/games-rpg/nwn-cep/ChangeLog +++ b/games-rpg/nwn-cep/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-rpg/nwn-cep # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.13 2010/06/28 22:03:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.14 2010/07/12 17:07:46 mr_bones_ Exp $ + + 12 Jul 2010; Michael Sterrett + nwn-cep-1.68-r1.ebuild, nwn-cep-2.0.ebuild, metadata.xml: + EAPI=2; replace built_with_use with has_version 28 Jun 2010; Michael Sterrett nwn-cep-1.68-r1.ebuild: diff --git a/games-rpg/nwn-cep/metadata.xml b/games-rpg/nwn-cep/metadata.xml index 743de12d29f1..c01a252e1b30 100644 --- a/games-rpg/nwn-cep/metadata.xml +++ b/games-rpg/nwn-cep/metadata.xml @@ -7,8 +7,4 @@ Denis Dupeyron maintainer - - Adds support for the Hordes of the Underdark expansion pack - Adds support for the Shadows of Undrentide expension pack - diff --git a/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild b/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild index 998e71d236be..accc71440cb2 100644 --- a/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild +++ b/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild,v 1.2 2010/06/28 22:03:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild,v 1.3 2010/07/12 17:07:46 mr_bones_ Exp $ +EAPI=2 inherit games DESCRIPTION="The Community Expansion Pack for Neverwinter Nights" @@ -19,8 +20,7 @@ RDEPEND=">=games-rpg/nwn-1.68" pkg_setup() { games_pkg_setup - if ! built_with_use games-rpg/nwn-data sou || ! built_with_use games-rpg/nwn-data hou - then + if ! has_version 'games-rpg/nwn-data[hou,sou]' ; then eerror "${P} requires NWN v1.68, Shadows of Undrentide, and Hordes of" eerror "the Underdark. Please make sure you have all three before using" eerror "this patch." diff --git a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild index f0657e8e9999..b7a810d8fb0b 100644 --- a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild +++ b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-2.0.ebuild,v 1.6 2008/08/13 21:10:36 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-2.0.ebuild,v 1.7 2010/07/12 17:07:46 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="High quality custom content addon for Neverwinter Nights" @@ -22,8 +23,7 @@ dir=${GAMES_PREFIX_OPT}/nwn pkg_setup() { games_pkg_setup - if ! built_with_use games-rpg/nwn-data sou || ! built_with_use games-rpg/nwn-data hou - then + if ! has_version 'games-rpg/nwn-data[hou,sou]' ; then eerror "${P} requires NWN v1.68, Shadows of Undrentide, and Hordes of" eerror "the Underdark. Please make sure you have all three before using" eerror "this patch." -- cgit v1.2.3-65-gdbad