Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gramps: ChangeLog gramps-3.0.3.ebuild gramps-3.0.2.ebuild
Date: Mon, 27 Oct 2008 20:36:20
Message-Id: E1KuYot-0006j6-Az@stork.gentoo.org
1 opfer 08/10/27 20:36:11
2
3 Modified: ChangeLog
4 Added: gramps-3.0.3.ebuild
5 Removed: gramps-3.0.2.ebuild
6 Log:
7 version bump and clean up: This is a bug fix release with translation updates and a fix for a hang with graphviz
8 (Portage version: 2.1.4.5)
9
10 Revision Changes Path
11 1.77 app-misc/gramps/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?rev=1.77&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?rev=1.77&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?r1=1.76&r2=1.77
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v
20 retrieving revision 1.76
21 retrieving revision 1.77
22 diff -u -r1.76 -r1.77
23 --- ChangeLog 27 Oct 2008 20:13:01 -0000 1.76
24 +++ ChangeLog 27 Oct 2008 20:36:11 -0000 1.77
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-misc/gramps
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.76 2008/10/27 20:13:01 opfer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.77 2008/10/27 20:36:11 opfer Exp $
30 +
31 +*gramps-3.0.3 (27 Oct 2008)
32 +
33 + 27 Oct 2008; Christian Faulhammer <opfer@g.o> -gramps-3.0.2.ebuild,
34 + +gramps-3.0.3.ebuild:
35 + version bump and clean up: This is a bug fix release with translation
36 + updates and a fix for a hang with graphviz
37
38 27 Oct 2008; Christian Faulhammer <opfer@g.o> gramps-3.0.2.ebuild:
39 add python_need_rebuild so python-updater will catch this package properly
40
41
42
43 1.1 app-misc/gramps/gramps-3.0.3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/gramps-3.0.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/gramps-3.0.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gramps-3.0.3.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.0.3.ebuild,v 1.1 2008/10/27 20:36:11 opfer Exp $
53
54 NEED_PYTHON="2.5"
55 WANT_AUTOCONF="latest"
56 WANT_AUTOMAKE="latest"
57
58 inherit autotools eutils gnome2 python
59
60 DESCRIPTION="Genealogical Research and Analysis Management Programming System"
61 HOMEPAGE="http://www.gramps-project.org/"
62 SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
67 IUSE="reports"
68
69 RDEPEND=">=dev-python/pygtk-2.10.0
70 >=dev-python/gnome-python-2.6
71 reports? ( media-gfx/graphviz )"
72 DEPEND="${RDEPEND}
73 sys-devel/gettext
74 virtual/libiconv
75 dev-util/pkgconfig
76 app-text/gnome-doc-utils"
77
78 DOCS="NEWS README TODO"
79
80 pkg_setup() {
81 if ! built_with_use -a 'dev-lang/python' sqlite berkdb ; then
82 eerror "You need to install python with Berkely Database support."
83 eerror "Add 'dev-lang/python berkdb sqlite' to /etc/portage/package.use "
84 eerror "and then re-emerge python."
85 die "berkdb or sqlite support missing from Gnome"
86 fi
87
88 G2CONF="${G2CONF} --disable-mime-install"
89 }
90
91 src_unpack() {
92 gnome2_src_unpack
93 eautoreconf
94 # This is for bug 215944, so .pyo/.pyc files don't get into the
95 # file system
96 mv "${S}"/py-compile "${S}"/py-compile.orig
97 ln -s $(type -P true) "${S}"/py-compile
98 }
99
100 src_install() {
101 python_need_rebuild
102 gnome2_src_install
103 }
104
105 pkg_postinst() {
106 gnome2_pkg_postinst
107 python_mod_optimize /usr/share/${PN}
108 }
109
110 pkg_postrm() {
111 gnome2_pkg_postrm
112 python_mod_cleanup /usr/share/${PN}
113 }