From 9982578906d5e074694e4d21ad1cbdc3070173bb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 Sep 2005 01:40:30 +0000 Subject: make sure python was built with USE=gdbm #107657 (Portage version: 2.0.52-r1 http://www.bash.org/?136501 ) --- .../files/digest-webcomics-collector-0.7.2 | 1 - .../webcomics-collector-0.7.2.ebuild | 24 ---------------------- .../webcomics-collector-0.7.3.ebuild | 11 ++++++++-- 3 files changed, 9 insertions(+), 27 deletions(-) delete mode 100644 app-misc/webcomics-collector/files/digest-webcomics-collector-0.7.2 delete mode 100644 app-misc/webcomics-collector/webcomics-collector-0.7.2.ebuild (limited to 'app-misc/webcomics-collector') diff --git a/app-misc/webcomics-collector/files/digest-webcomics-collector-0.7.2 b/app-misc/webcomics-collector/files/digest-webcomics-collector-0.7.2 deleted file mode 100644 index 4fbe6b3ecc41..000000000000 --- a/app-misc/webcomics-collector/files/digest-webcomics-collector-0.7.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 c307a15ec25229f063c80282bd819750 collector-0.7.2.tar.bz2 65872 diff --git a/app-misc/webcomics-collector/webcomics-collector-0.7.2.ebuild b/app-misc/webcomics-collector/webcomics-collector-0.7.2.ebuild deleted file mode 100644 index 3d1e95a4b8ac..000000000000 --- a/app-misc/webcomics-collector/webcomics-collector-0.7.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2005 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.2.ebuild,v 1.3 2005/01/01 15:29:10 eradicator Exp $ - -inherit distutils - -DESCRIPTION="python script for downloading webcomics" -HOMEPAGE="http://collector.skumleren.net/" -SRC_URI="http://collector.skumleren.net/releases/collector-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc sparc x86" -IUSE="" - -S=${WORKDIR}/collector-${PV} - -DOCS="UPGRADE" - -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" - ewarn "archives if you do not follow the upgrade instructions!" -} 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 c5b940358718..5486f61891c0 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,8 @@ # Copyright 1999-2005 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.2 2005/01/01 15:29:10 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/webcomics-collector/webcomics-collector-0.7.3.ebuild,v 1.3 2005/09/30 01:40:30 vapier Exp $ -inherit distutils +inherit distutils eutils DESCRIPTION="python script for downloading webcomics" HOMEPAGE="http://collector.skumleren.net/" @@ -17,6 +17,13 @@ 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" -- cgit v1.2.3-65-gdbad