summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-15 13:08:51 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-15 13:08:51 +0000
commit9687c5d6443742951d7e30e0e401e105eb7d8790 (patch)
tree10f35384b3f4c5f1ca0049b43aa9b792617cca78 /app-misc
parentMigrate to EAPI 2 in order to remove built_with_use calls for bug #261562. (diff)
downloadgentoo-2-9687c5d6443742951d7e30e0e401e105eb7d8790.tar.gz
gentoo-2-9687c5d6443742951d7e30e0e401e105eb7d8790.tar.bz2
gentoo-2-9687c5d6443742951d7e30e0e401e105eb7d8790.zip
USE deps instead of built_with_use
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/hachoir-urwid/hachoir-urwid-1.0.1.ebuild19
1 files 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
-}