Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/diffuse: ChangeLog diffuse-0.4.7-r1.ebuild diffuse-0.4.7.ebuild
Date: Mon, 01 Jul 2013 11:17:51
Message-Id: 20130701111748.1EA642171C@flycatcher.gentoo.org
1 grozin 13/07/01 11:17:48
2
3 Modified: ChangeLog
4 Added: diffuse-0.4.7-r1.ebuild
5 Removed: diffuse-0.4.7.ebuild
6 Log:
7 Fixed #406433 and #475196, many thanks to Julian Ospald <hasufell@g.o>
8
9 (Portage version: 2.2.0_alpha185/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
10
11 Revision Changes Path
12 1.18 dev-util/diffuse/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/diffuse/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/diffuse/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/diffuse/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/diffuse/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 15 May 2013 11:15:23 -0000 1.17
25 +++ ChangeLog 1 Jul 2013 11:17:47 -0000 1.18
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-util/diffuse
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/diffuse/ChangeLog,v 1.17 2013/05/15 11:15:23 grozin Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/diffuse/ChangeLog,v 1.18 2013/07/01 11:17:47 grozin Exp $
31 +
32 +*diffuse-0.4.7-r1 (01 Jul 2013)
33 +
34 + 01 Jul 2013; Andrey Grozin <grozin@g.o> -diffuse-0.4.7.ebuild,
35 + +diffuse-0.4.7-r1.ebuild:
36 + Fixed #406433 and #475196, many thanks to Julian Ospald <hasufell@g.o>
37
38 *diffuse-0.4.7 (15 May 2013)
39
40
41
42
43 1.1 dev-util/diffuse/diffuse-0.4.7-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/diffuse/diffuse-0.4.7-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/diffuse/diffuse-0.4.7-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: diffuse-0.4.7-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/diffuse/diffuse-0.4.7-r1.ebuild,v 1.1 2013/07/01 11:17:47 grozin Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_6 python2_7 )
56
57 inherit fdo-mime python-single-r1
58
59 DESCRIPTION="A graphical tool to compare and merge text files"
60 HOMEPAGE="http://diffuse.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
68
69 DEPEND="${PYTHON_DEPS}"
70 RDEPEND="${DEPEND}
71 dev-python/pygtk[${PYTHON_USEDEP}]"
72 # file collision, bug #279018
73 DEPEND="${DEPEND}
74 !sci-chemistry/tinker"
75
76 src_prepare() {
77 local i p
78
79 # linguas handling wrt #406433
80 if [[ -n "${LINGUAS+x}" ]] ; then
81 for i in $(for p in translations/*.po ; do echo ${p%.po} ; done) ; do
82 if ! has ${i##*/} ${LINGUAS} ; then
83 rm "${S}"/${i}.po || die
84 fi
85 done
86 fi
87
88 python_fix_shebang src/usr/bin/diffuse
89 }
90
91 src_install() {
92 "${PYTHON}" install.py \
93 --prefix=/usr \
94 --files-only \
95 --destdir="${D}" \
96 || die "Installation failed"
97 dodoc AUTHORS ChangeLog README
98 }
99
100 pkg_postinst() {
101 fdo-mime_desktop_database_update
102 }
103
104 pkg_postrm() {
105 fdo-mime_desktop_database_update
106 }