summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-03-12 00:21:45 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-03-12 00:21:45 +0000
commit8eb08ff90ae4ba9730cd398eb128a30cba87952f (patch)
tree232eeb20165b8d041b3a4616c1eb98175f65ec96 /app-misc/gramps
parentDrop KEYWORDS for all architectures except mips and m68k to force users upgra... (diff)
downloadgentoo-2-8eb08ff90ae4ba9730cd398eb128a30cba87952f.tar.gz
gentoo-2-8eb08ff90ae4ba9730cd398eb128a30cba87952f.tar.bz2
gentoo-2-8eb08ff90ae4ba9730cd398eb128a30cba87952f.zip
version bump, reported by David Relson via email
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/ChangeLog7
-rw-r--r--app-misc/gramps/gramps-3.1.1.ebuild65
2 files changed, 71 insertions, 1 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog
index d38c9612b491..c3e8562be825 100644
--- a/app-misc/gramps/ChangeLog
+++ b/app-misc/gramps/ChangeLog
@@ -1,6 +1,11 @@
# 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.96 2009/03/09 13:24:42 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.97 2009/03/12 00:21:45 fauli Exp $
+
+*gramps-3.1.1 (12 Mar 2009)
+
+ 12 Mar 2009; Christian Faulhammer <fauli@gentoo.org> +gramps-3.1.1.ebuild:
+ version bump, reported by David Relson via email
09 Mar 2009; Ferris McCormick <fmccor@gentoo.org> gramps-3.1.0.ebuild:
Put back ~sparc keywrod, Bug #261672.
diff --git a/app-misc/gramps/gramps-3.1.1.ebuild b/app-misc/gramps/gramps-3.1.1.ebuild
new file mode 100644
index 000000000000..fc55c7dabb14
--- /dev/null
+++ b/app-misc/gramps/gramps-3.1.1.ebuild
@@ -0,0 +1,65 @@
+# 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.1.1.ebuild,v 1.1 2009/03/12 00:21:45 fauli Exp $
+
+EAPI=2
+NEED_PYTHON="2.5"
+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 ~sparc ~x86"
+IUSE="gnome reports spell"
+
+RDEPEND=">=dev-python/pygtk-2.10.0
+ x11-misc/xdg-utils
+ gnome-base/librsvg:2
+ gnome? ( || ( dev-python/libgnome-python
+ >=dev-python/gnome-python-2.22.0
+ >=dev-python/gnome-python-desktop-2.6 ) )
+ spell? ( ||
+ ( dev-python/gtkspell-python dev-python/gnome-python-extras )
+ dev-python/pyenchant )
+ reports? ( media-gfx/graphviz )"
+DEPEND="${RDEPEND}
+ || ( dev-lang/python[sqlite] dev-lang/python[berkdb] )
+ sys-devel/gettext
+ virtual/libiconv
+ dev-util/pkgconfig"
+
+DOCS="NEWS README TODO"
+
+pkg_setup() {
+ 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
+}
+
+src_install() {
+ python_need_rebuild
+ gnome2_src_install
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/share/${PN}
+}