Gentoo Archives: gentoo-commits

From: "Joshua Kinard (kumba)" <kumba@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/comparator: ChangeLog comparator-2.8.ebuild
Date: Tue, 03 Jan 2012 04:03:21
Message-Id: 20120103040310.5EA092004B@flycatcher.gentoo.org
1 kumba 12/01/03 04:03:10
2
3 Modified: ChangeLog
4 Added: comparator-2.8.ebuild
5 Log:
6 Add an ebuild for 2.8 to unstable. Closes #394521.
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 dev-util/comparator/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/comparator/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/comparator/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/comparator/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/comparator/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 11 Jan 2011 21:38:50 -0000 1.17
24 +++ ChangeLog 3 Jan 2012 04:03:10 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/comparator
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/ChangeLog,v 1.17 2011/01/11 21:38:50 arfrever Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/ChangeLog,v 1.18 2012/01/03 04:03:10 kumba Exp $
31 +
32 +*comparator-2.8 (03 Jan 2012)
33 +
34 + 03 Jan 2012; Joshua Kinard <kumba@g.o> +comparator-2.8.ebuild:
35 + Add an ebuild for 2.8 to unstable. Closes #394521.
36
37 11 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
38 comparator-2.5.ebuild:
39
40
41
42 1.1 dev-util/comparator/comparator-2.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/comparator/comparator-2.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/comparator/comparator-2.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: comparator-2.8.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/comparator-2.8.ebuild,v 1.1 2012/01/03 04:03:10 kumba Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.*"
57
58 inherit distutils toolchain-funcs
59
60 DESCRIPTION="ESR's utility for making fast comparisons among large source trees"
61 HOMEPAGE="http://www.catb.org/~esr/comparator/"
62 SRC_URI="http://www.catb.org/~esr/comparator/${P}.tar.gz"
63
64 LICENSE="as-is GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
67 IUSE=""
68
69 RDEPEND=""
70 DEPEND="=app-text/docbook-xml-dtd-4.1.2*
71 app-text/xmlto"
72
73 PYTHON_MODNAME="comparator.py"
74
75 src_prepare() {
76 sed \
77 -e '/install -m 755 -o 0 -g 0 filterator/d' \
78 -e '/python setup.py install/d' \
79 -i Makefile || die "sed failed"
80 }
81
82 src_compile() {
83 distutils_src_compile
84 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
85 emake comparator.html scf-standard.html || die "emake html failed"
86 }
87
88 src_install() {
89 distutils_src_install
90 emake ROOT="${D}" install || die "emake install failed"
91
92 install_filterator() {
93 newbin filterator filterator-${PYTHON_ABI} || return 1
94 python_convert_shebangs ${PYTHON_ABI} "${ED}usr/bin/filterator-${PYTHON_ABI}"
95 }
96 python_execute_function -q install_filterator
97 python_generate_wrapper_scripts "${ED}usr/bin/filterator"
98
99 dohtml *.html || die "dohtml failed"
100 }