Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/meld: ChangeLog meld-1.3.1.ebuild
Date: Mon, 31 Aug 2009 17:06:54
Message-Id: E1MiFA7-0007lv-Os@stork.gentoo.org
1 eva 09/08/31 22:15:43
2
3 Modified: ChangeLog
4 Added: meld-1.3.1.ebuild
5 Log:
6 Version bump. Add support for svk.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.103 dev-util/meld/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?rev=1.103&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?rev=1.103&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?r1=1.102&r2=1.103
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v
19 retrieving revision 1.102
20 retrieving revision 1.103
21 diff -u -r1.102 -r1.103
22 --- ChangeLog 27 Jul 2009 08:47:50 -0000 1.102
23 +++ ChangeLog 31 Aug 2009 22:15:43 -0000 1.103
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/meld
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v 1.102 2009/07/27 08:47:50 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v 1.103 2009/08/31 22:15:43 eva Exp $
29 +
30 +*meld-1.3.1 (31 Aug 2009)
31 +
32 + 31 Aug 2009; Gilles Dartiguelongue <eva@g.o> +meld-1.3.1.ebuild:
33 + Version bump. Add support for svk.
34
35 27 Jul 2009; Gilles Dartiguelongue <eva@g.o> -meld-1.2.1.ebuild,
36 -files/meld-1.2-fr-help-install-fix.patch,
37
38
39
40 1.1 dev-util/meld/meld-1.3.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/meld-1.3.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/meld-1.3.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: meld-1.3.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-util/meld/meld-1.3.1.ebuild,v 1.1 2009/08/31 22:15:43 eva Exp $
50
51 GCONF_DEBUG="no"
52
53 inherit python gnome2 eutils multilib
54
55 DESCRIPTION="A graphical (GNOME 2) diff and merge tool"
56 HOMEPAGE="http://meld.sourceforge.net/"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="doc gnome"
62
63 RDEPEND=">=dev-lang/python-2.4
64 >=gnome-base/libglade-2
65 gnome? (
66 >=gnome-base/libgnome-2
67 >=dev-python/libgnome-python-2.22
68 >=dev-python/gconf-python-2.22
69 >=dev-python/gnome-vfs-python-2.22 )
70 >=dev-python/pygtk-2.8.0
71 >=dev-python/pygobject-2.8"
72
73 DEPEND="${RDEPEND}
74 dev-util/intltool
75 app-text/scrollkeeper"
76
77 DOCS="AUTHORS NEWS help/ChangeLog"
78
79 src_unpack() {
80 gnome2_src_unpack
81
82 # fix the prefix so its not in */local/*
83 sed -e 's:/usr/local:/usr:' \
84 -e "s:\$(prefix)/lib:\$(prefix)/$(get_libdir):" \
85 -i INSTALL || die "sed 1 failed"
86
87 # don't install anything to /usr/share/doc/meld
88 sed -e "s:\$(docdir)/meld:\$(docdir)/${PF}:" \
89 -i INSTALL || die "sed 2 failed"
90
91 # let the python eclass handle python objects
92 sed -e '/$(PYTHON) .* .import compileall;/s/\t/&#/g' \
93 -i GNUmakefile || die "sed 3 failed"
94
95 # don't run scrollkeeper (with the wrong path), leave that to gnome2.eclass #145833
96 sed -e '/scrollkeeper-update/s/\t/&#/' \
97 -i help/*/GNUmakefile || die "sed 4 failed"
98
99 strip-linguas -i "${S}/po"
100 local mylinguas=""
101 for x in ${LINGUAS}; do
102 mylinguas="${mylinguas} ${x}.po"
103 done
104
105 if [ -n "${mylinguas}" ]; then
106 sed -e "s/PO:=.*/PO:=${mylinguas}/" \
107 -i po/GNUmakefile || die "sed 5 failed"
108 fi
109 }
110
111 src_compile() {
112 emake || die "make failed"
113 }
114
115 pkg_postinst() {
116 python_mod_optimize /usr/$(get_libdir)/meld
117 }
118
119 pkg_postrm() {
120 python_mod_cleanup /usr/$(get_libdir)/meld
121 }