diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2011-05-06 23:12:19 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2011-05-06 23:12:19 +0000 |
commit | 4e2bae9ffcbc4108f23574dcb86db987b5a03440 (patch) | |
tree | 0083b10444c89eee6a34db88b618e1087373bdb2 /app-misc/gramps | |
parent | version bump and clean up (diff) | |
download | gentoo-2-4e2bae9ffcbc4108f23574dcb86db987b5a03440.tar.gz gentoo-2-4e2bae9ffcbc4108f23574dcb86db987b5a03440.tar.bz2 gentoo-2-4e2bae9ffcbc4108f23574dcb86db987b5a03440.zip |
version bump
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'app-misc/gramps')
-rw-r--r-- | app-misc/gramps/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/gramps/gramps-3.2.6.ebuild | 91 |
2 files changed, 97 insertions, 1 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog index 0b79b1922fe5..f70262567f3c 100644 --- a/app-misc/gramps/ChangeLog +++ b/app-misc/gramps/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/gramps # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.144 2011/04/16 22:35:09 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.145 2011/05/06 23:12:19 fauli Exp $ + +*gramps-3.2.6 (06 May 2011) + + 06 May 2011; Christian Faulhammer <fauli@gentoo.org> +gramps-3.2.6.ebuild: + version bump 16 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> gramps-3.2.5.ebuild: diff --git a/app-misc/gramps/gramps-3.2.6.ebuild b/app-misc/gramps/gramps-3.2.6.ebuild new file mode 100644 index 000000000000..e57b26e733b5 --- /dev/null +++ b/app-misc/gramps/gramps-3.2.6.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.2.6.ebuild,v 1.1 2011/05/06 23:12:19 fauli Exp $ + +EAPI=3 + +PYTHON_DEPEND="2:2.5" +GCONF_DEBUG="no" + +inherit autotools eutils gnome2 python + +DESCRIPTION="Genealogical Research and Analysis Management Programming System" +HOMEPAGE="http://www.gramps-project.org/" +SRC_URI="mirror://sourceforge/gramps/Stable/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gnome mozembed reports spell webkit" + +RDEPEND="dev-python/bsddb3 + >=dev-python/pygtk-2.10.0 + x11-misc/xdg-utils + gnome-base/librsvg:2 + gnome? ( dev-python/libgnome-python + dev-python/gconf-python ) + mozembed? ( dev-python/gtkmozembed-python ) + spell? ( dev-python/gtkspell-python + dev-python/pyenchant ) + reports? ( media-gfx/graphviz ) + webkit? ( dev-python/pywebkitgtk )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/libiconv + dev-util/pkgconfig" + +DOCS="NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} --disable-mime-install" + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + gnome2_src_prepare + + epatch "${FILESDIR}"/${PN}-3.2.4-use_bsddb3.patch + + 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 + + # Fix install path. + einfo "Fix installation path" + find . -iname 'Makefile.in' | xargs \ + sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \ + || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/Makefile.in || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/docgen/Makefile.in || die + + einfo "Fix wrapper script" + sed "s;@datadir@;$(python_get_sitedir);" \ + -i gramps.sh.in || die + + einfo "Fix icon location" + sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die +} + +src_install() { + python_need_rebuild + gnome2_src_install +} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize ${PN} +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup ${PN} +} |