summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/gramps/gramps-3.0.4.ebuild')
-rw-r--r--app-misc/gramps/gramps-3.0.4.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/app-misc/gramps/gramps-3.0.4.ebuild b/app-misc/gramps/gramps-3.0.4.ebuild
index 83de46847533..284fbb1287c2 100644
--- a/app-misc/gramps/gramps-3.0.4.ebuild
+++ b/app-misc/gramps/gramps-3.0.4.ebuild
@@ -1,7 +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/gramps/gramps-3.0.4.ebuild,v 1.2 2008/12/22 19:23:17 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.0.4.ebuild,v 1.3 2009/01/06 00:39:29 fauli Exp $
+EAPI=2
NEED_PYTHON="2.5"
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -23,6 +24,7 @@ RDEPEND=">=dev-python/pygtk-2.10.0
>=dev-python/gnome-python-desktop-2.6 )
reports? ( media-gfx/graphviz )"
DEPEND="${RDEPEND}
+ || ( dev-lang/python[sqlite] dev-lang/python[berkdb] )
sys-devel/gettext
virtual/libiconv
dev-util/pkgconfig
@@ -31,13 +33,6 @@ DEPEND="${RDEPEND}
DOCS="NEWS README TODO"
pkg_setup() {
- if ! built_with_use -a 'dev-lang/python' sqlite berkdb ; then
- eerror "You need to install python with Berkeley Database support."
- eerror "Add 'dev-lang/python berkdb sqlite' to /etc/portage/package.use "
- eerror "and then re-emerge python."
- die "berkdb or sqlite support missing from Python"
- fi
-
G2CONF="${G2CONF} --disable-mime-install"
}