summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-10-13 22:55:27 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-10-13 22:55:27 +0000
commit3a23c27607b75bb0715e7cb704c2c31ab14f208c (patch)
tree68a4e79164f54a590279c1457da8eea5ee9a4ccf /app-misc/gramps
parentRemoved old version (diff)
downloadgentoo-2-3a23c27607b75bb0715e7cb704c2c31ab14f208c.tar.gz
gentoo-2-3a23c27607b75bb0715e7cb704c2c31ab14f208c.tar.bz2
gentoo-2-3a23c27607b75bb0715e7cb704c2c31ab14f208c.zip
version bump, bug 239457; fixes lots of small things
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/ChangeLog7
-rw-r--r--app-misc/gramps/gramps-3.0.2.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog
index 9b44480e0b0b..cd4c193a9254 100644
--- a/app-misc/gramps/ChangeLog
+++ b/app-misc/gramps/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/gramps
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.74 2008/09/07 01:48:58 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.75 2008/10/13 22:55:27 opfer Exp $
+
+*gramps-3.0.2 (13 Oct 2008)
+
+ 13 Oct 2008; Christian Faulhammer <opfer@gentoo.org> +gramps-3.0.2.ebuild:
+ version bump, bug 239457; fixes lots of small things
07 Sep 2008; Christian Faulhammer <opfer@gentoo.org>
gramps-3.0.1-r1.ebuild:
diff --git a/app-misc/gramps/gramps-3.0.2.ebuild b/app-misc/gramps/gramps-3.0.2.ebuild
new file mode 100644
index 000000000000..6db2950e8b64
--- /dev/null
+++ b/app-misc/gramps/gramps-3.0.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.0.2.ebuild,v 1.1 2008/10/13 22:55:27 opfer Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit autotools eutils gnome2 python
+
+DESCRIPTION="Genealogical Research and Analysis Management Programming System"
+HOMEPAGE="http://www.gramps-project.org/"
+SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="reports"
+
+RDEPEND=">=dev-lang/python-2.5
+ >=dev-python/pygtk-2.10.0
+ >=dev-python/gnome-python-2.6
+ reports? ( media-gfx/graphviz )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/libiconv
+ dev-util/pkgconfig
+ app-text/gnome-doc-utils"
+
+DOCS="NEWS README TODO"
+
+pkg_setup() {
+ if ! built_with_use -a 'dev-lang/python' sqlite berkdb ; then
+ eerror "You need to install python with Berkely 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 Gnome"
+ fi
+
+ G2CONF="${G2CONF} --disable-mime-install"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+ eautoreconf
+ # This is for bug 215944, so .pyo/.pyc files don't get into the
+ # file system
+ mv "${S}"/py-compile "${S}"/py-compile.orig
+ ln -s $(type -P true) "${S}"/py-compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/share/${PN}
+}