diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-01-06 00:39:29 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-01-06 00:39:29 +0000 |
commit | b6c8fdc198e780a00d7eda0cb9e5139e2bd4d872 (patch) | |
tree | 132b1faa5ca8360eff15023d0a92787367287b68 /app-misc | |
parent | version bump; cleanup old versions; fritzbox-1.0.2 stabel on x86 (diff) | |
download | gentoo-2-b6c8fdc198e780a00d7eda0cb9e5139e2bd4d872.tar.gz gentoo-2-b6c8fdc198e780a00d7eda0cb9e5139e2bd4d872.tar.bz2 gentoo-2-b6c8fdc198e780a00d7eda0cb9e5139e2bd4d872.zip |
make use of EAPI2 features to check for USE=sqlite or USE=berkdb on dev-lang/python, thus makes the built_with_use check obsolete
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 i686)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/gramps/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/gramps/gramps-3.0.4.ebuild | 13 |
2 files changed, 9 insertions, 10 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog index d671f4e33727..4de5ca7bddb3 100644 --- a/app-misc/gramps/ChangeLog +++ b/app-misc/gramps/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/gramps # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.88 2009/01/04 12:06:04 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.89 2009/01/06 00:39:29 fauli Exp $ + + 06 Jan 2009; Christian Faulhammer <fauli@gentoo.org> gramps-3.0.4.ebuild: + make use of EAPI2 features to check for USE=sqlite or USE=berkdb on + dev-lang/python, thus makes the built_with_use check obsolete 04 Jan 2009; Christian Faulhammer <fauli@gentoo.org> -files/gramps-3.0.1-no_scrollkeeper.patch, -gramps-3.0.1-r1.ebuild: 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" } |