Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/num-utils: ChangeLog num-utils-0.5-r1.ebuild num-utils-0.5.ebuild
Date: Mon, 03 Jan 2011 18:12:18
Message-Id: 20110103181118.D7E6520057@flycatcher.gentoo.org
1 bicatali 11/01/03 18:11:18
2
3 Modified: ChangeLog
4 Added: num-utils-0.5-r1.ebuild
5 Removed: num-utils-0.5.ebuild
6 Log:
7 Renamed all execs with prefix num, avoiding number of collisions with other packages. Apply a few Debian patches.
8
9 (Portage version: 2.1.9.26/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.9 sci-mathematics/num-utils/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?rev=1.9&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?rev=1.9&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?r1=1.8&r2=1.9
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v
21 retrieving revision 1.8
22 retrieving revision 1.9
23 diff -u -r1.8 -r1.9
24 --- ChangeLog 24 Jun 2010 13:00:56 -0000 1.8
25 +++ ChangeLog 3 Jan 2011 18:11:18 -0000 1.9
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sci-mathematics/num-utils
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v 1.8 2010/06/24 13:00:56 jlec Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v 1.9 2011/01/03 18:11:18 bicatali Exp $
32 +
33 +*num-utils-0.5-r1 (03 Jan 2011)
34 +
35 + 03 Jan 2011; Sébastien Fabbro <bicatali@g.o> -num-utils-0.5.ebuild,
36 + +num-utils-0.5-r1.ebuild:
37 + Renamed all execs with prefix num, avoiding number of collisions with other
38 + packages. Apply a few Debian patches.
39
40 24 Jun 2010; Justin Lecher <jlec@g.o> num-utils-0.3.ebuild,
41 num-utils-0.5.ebuild:
42
43
44
45 1.1 sci-mathematics/num-utils/num-utils-0.5-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: num-utils-0.5-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild,v 1.1 2011/01/03 18:11:18 bicatali Exp $
55
56 EAPI="3"
57 inherit eutils
58
59 DEB_PR=11
60
61 DESCRIPTION="A set of programs for dealing with numbers from the command line"
62 SRC_URI="http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz
63 mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz"
64
65 HOMEPAGE="http://suso.suso.org/programs/num-utils/"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE=""
71
72 DEPEND=""
73 RDEPEND=""
74
75 src_prepare() {
76 epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
77 epatch "${S}"/debian/patches/*.diff
78 local x
79 for x in average bound interval normalize random range round; do
80 mv $x num$x || die "renaming $x failed"
81 done
82 sed -i \
83 -e 's/^RPMDIR/#RPMDIR/' \
84 -e 's/COPYING//' \
85 -e 's/LICENSE//' \
86 -e '/^DOCS/s/MANIFEST//' \
87 Makefile || die "sed Makefile failed"
88 }
89
90 src_install () {
91 emake ROOT="${ED}" install || die "emake install failed"
92 }
93
94 pkg_postinst() {
95 elog "All ${PN} programs have been renamed with prefix 'num' to avoid collisions"
96 }