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
commitdaf38047027e6f1da5843396845d752469969dca (patch)
tree363e733e8ab1ef83115ed6f7f903fb72e8ae4c89 /app-misc/hachoir-urwid
parentMigrate to EAPI 2 in order to remove built_with_use calls for bug #261562. (diff)
downloadhistorical-daf38047027e6f1da5843396845d752469969dca.tar.gz
historical-daf38047027e6f1da5843396845d752469969dca.tar.bz2
historical-daf38047027e6f1da5843396845d752469969dca.zip
USE deps instead of built_with_use
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'app-misc/hachoir-urwid')
-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
-}