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.2.1.ebuild
Date: Sat, 29 Nov 2008 12:54:08
Message-Id: E1L6PKm-00052R-1E@stork.gentoo.org
1 eva 08/11/29 12:54:04
2
3 Modified: ChangeLog
4 Added: meld-1.2.1.ebuild
5 Log:
6 Bump to 1.2.1. UI Tweaks, command line enhancements, handles spaces in svn path.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.87 dev-util/meld/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?rev=1.87&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?rev=1.87&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/ChangeLog?r1=1.86&r2=1.87
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v
19 retrieving revision 1.86
20 retrieving revision 1.87
21 diff -u -r1.86 -r1.87
22 --- ChangeLog 16 Nov 2008 19:33:00 -0000 1.86
23 +++ ChangeLog 29 Nov 2008 12:54:03 -0000 1.87
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/meld
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v 1.86 2008/11/16 19:33:00 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/meld/ChangeLog,v 1.87 2008/11/29 12:54:03 eva Exp $
29 +
30 +*meld-1.2.1 (29 Nov 2008)
31 +
32 + 29 Nov 2008; Gilles Dartiguelongue <eva@g.o> +meld-1.2.1.ebuild:
33 + Bump to 1.2.1. UI Tweaks, command line enhancements, handles spaces
34 + in svn path.
35
36 *meld-1.2-r1 (16 Nov 2008)
37
38
39
40
41 1.1 dev-util/meld/meld-1.2.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/meld-1.2.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/meld/meld-1.2.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: meld-1.2.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/meld/meld-1.2.1.ebuild,v 1.1 2008/11/29 12:54:03 eva Exp $
51
52 inherit python gnome2 eutils multilib
53
54 DESCRIPTION="A graphical (GNOME 2) diff and merge tool"
55 HOMEPAGE="http://meld.sourceforge.net/"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="doc gnome"
61
62 RDEPEND=">=dev-lang/python-2.3
63 >=gnome-base/libglade-2
64 >=gnome-base/libgnome-2
65 >=dev-python/gnome-python-2.6.0
66 >=dev-python/pygtk-2.8.0
67 >=dev-python/pyorbit-1.99.0
68 gnome? ( dev-python/gnome-python-desktop )"
69
70 DEPEND="${RDEPEND}
71 dev-util/intltool
72 app-text/scrollkeeper"
73
74 DOCS="AUTHORS changelog help/"
75
76 src_unpack() {
77 gnome2_src_unpack
78
79 # fix the prefix so its not in */local/*
80 sed -i -e 's:/usr/local:/usr:' INSTALL
81 sed -i -e "s:\$(prefix)/lib:\$(prefix)/$(get_libdir):" INSTALL
82
83 # don't install anything to /usr/share/doc/meld
84 sed -i -e "s:\$(docdir)/meld:\$(docdir)/${PF}:" INSTALL
85
86 # let the python eclass handle python objects
87 sed -i -e '/$(PYTHON) .* .import compileall;/s/\t/&#/g' GNUmakefile
88
89 # don't run scrollkeeper (with the wrong path), leave that to gnome2.eclass #145833
90 sed -i -e '/scrollkeeper-update/s/\t/&#/' help/*/GNUmakefile
91
92 strip-linguas -i "${S}/po"
93 local mylinguas=""
94 for x in ${LINGUAS}; do
95 mylinguas="${mylinguas} ${x}.po"
96 done
97
98 sed -i -e "s/PO:=.*/PO:=${mylinguas}/" po/GNUmakefile
99 }
100
101 src_compile() {
102 emake || die "make failed"
103 }
104
105 pkg_postinst() {
106 python_mod_optimize /usr/$(get_libdir)/meld
107 }
108
109 pkg_postrm() {
110 python_mod_cleanup /usr/$(get_libdir)/meld
111 }