From 9687c5d6443742951d7e30e0e401e105eb7d8790 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sat, 15 Aug 2009 13:08:51 +0000 Subject: USE deps instead of built_with_use (Portage version: 2.2_rc38/cvs/Linux x86_64) --- app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild b/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild index da24376095b4..a8794eb75329 100644 --- a/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild +++ b/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild,v 1.2 2008/08/12 08:13:46 cedk Exp $ - -NEED_PYTHON=2.4 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild,v 1.3 2009/08/15 13:08:51 ssuominen Exp $ +EAPI=2 inherit distutils DESCRIPTION="user interface based on hachoir-parser to explore a binary file" @@ -15,16 +14,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" -RDEPEND=">=dev-python/hachoir-core-1.0.1 +DEPEND=">=dev-lang/python-2.4[ncurses]" +RDEPEND="${DEPEND} + >=dev-python/hachoir-core-1.0.1 >=dev-python/hachoir-parser-1.0 >=dev-python/urwid-0.9.4" PYTHON_MODNAME="hachoir_urwid" - -pkg_setup() { - if ! built_with_use virtual/python ncurses; then - eerror "virtual/python must be build with ncurses" - die "${PN} requires virtual/python with USE=ncurses" - fi -} -- cgit v1.2.3-65-gdbad