summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-15 13:04:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-15 13:04:14 +0000
commitbbe7ef5e38bc7b0a1756715c2132da4e2b3258bc (patch)
tree54e6e6d61979768764e0ed009b2c3fd126a1b69a /app-misc
parentUSE deps instead of built_with_use (diff)
downloadgentoo-2-bbe7ef5e38bc7b0a1756715c2132da4e2b3258bc.tar.gz
gentoo-2-bbe7ef5e38bc7b0a1756715c2132da4e2b3258bc.tar.bz2
gentoo-2-bbe7ef5e38bc7b0a1756715c2132da4e2b3258bc.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/webcomics-collector/webcomics-collector-0.7.3.ebuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild b/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild
index 5cc393479f6a..22e7b3d46ce1 100644
--- a/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild
+++ b/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2005 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/webcomics-collector/webcomics-collector-0.7.3.ebuild,v 1.4 2005/09/30 15:57:34 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild,v 1.5 2009/08/15 13:04:14 ssuominen Exp $
-inherit distutils eutils
+EAPI=2
+inherit distutils
DESCRIPTION="python script for downloading webcomics"
HOMEPAGE="http://collector.skumleren.net/"
@@ -13,17 +14,13 @@ SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
+RDEPEND="dev-lang/python[gdbm]"
+DEPEND="${RDEPEND}"
+
S=${WORKDIR}/collector-${PV}
DOCS="UPGRADE"
-pkg_setup() {
- if ! built_with_use dev-lang/python gdbm ; then
- eerror "You need to emerge python with USE=gdbm"
- die "re-emerge python with USE=gdbm"
- fi
-}
-
pkg_postinst() {
ewarn "If you are upgrading from an earlier version of Collector, please"
ewarn "read UPGRADE. This new version will not be able to use your old"