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/webcomics-collector
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/webcomics-collector')
-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"