Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: gentoo-x86/net-misc/aggregate: aggregate-1.6.ebuild
Date: Thu, 28 Oct 2010 14:19:56
Message-Id: 4CC9869D.3020409@gentoo.org
In Reply to: [gentoo-dev] Re: gentoo-x86/net-misc/aggregate: aggregate-1.6.ebuild by Fabian Groffen
1 On 10/28/2010 12:30 PM, Fabian Groffen wrote:
2 > On 28-10-2010 09:25:23 +0000, Samuli Suominen wrote:
3 >> ssuominen 10/10/28 09:25:23
4 >>
5 >> Modified: aggregate-1.6.ebuild
6 >> Log:
7 >> qa
8 >
9 > I think it would be good practice if you would give a summary of
10 > what type of QA you applied, even though for you it may be obvious.
11 > I just see lots of unnecessary changes that are apparently considered to
12 > be justified by "QA".
13
14 removal of quotes from "${A}", EAPI=2 to get src_configure to put
15 econf and tc-getCC in, || die to make dobin, rest were unnecessary
16 cosmetics not worth logging about
17
18 so qa/cosmetics, are you really 'complaining' for not mentioning
19 'cosmetics' in the commitlog?
20
21 wont be happening
22
23 >
24 >> (Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
25 >>
26 >> 1.16 net-misc/aggregate/aggregate-1.6.ebuild
27 >>
28 >> Index: aggregate-1.6.ebuild
29 >> ===================================================================
30 >> RCS file: /var/cvsroot/gentoo-x86/net-misc/aggregate/aggregate-1.6.ebuild,v
31 >> retrieving revision 1.15
32 >> retrieving revision 1.16
33 >> diff -u -r1.15 -r1.16
34 >> --- aggregate-1.6.ebuild 17 Oct 2010 04:46:37 -0000 1.15
35 >> +++ aggregate-1.6.ebuild 28 Oct 2010 09:25:23 -0000 1.16
36 >> @@ -1,26 +1,33 @@
37 >> # Copyright 1999-2010 Gentoo Foundation
38 >> # Distributed under the terms of the GNU General Public License v2
39 >> -# $Header: /var/cvsroot/gentoo-x86/net-misc/aggregate/aggregate-1.6.ebuild,v 1.15 2010/10/17 04:46:37 leio Exp $
40 >> +# $Header: /var/cvsroot/gentoo-x86/net-misc/aggregate/aggregate-1.6.ebuild,v 1.16 2010/10/28 09:25:23 ssuominen Exp $
41 >>
42 >> -inherit eutils
43 >> +EAPI=2
44 >> +inherit eutils toolchain-funcs
45 >>
46 >> DESCRIPTION="aggregate takes a list of prefixes in conventional format on stdin, and performs two optimisations to reduce the length of the prefix list."
47 >> HOMEPAGE="http://dist.automagic.org/"
48 >> SRC_URI="${HOMEPAGE}/${P}.tar.gz"
49 >> +
50 >> LICENSE="as-is"
51 >> SLOT="0"
52 >> KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86"
53 >> IUSE=""
54 >> -DEPEND=""
55 >> +
56 >> RDEPEND="dev-lang/perl"
57 >> +DEPEND=""
58 >>
59 >> -src_unpack() {
60 >> - unpack "${A}"
61 >> +src_prepare() {
62 >> epatch "${FILESDIR}"/${P}-build-fixup.patch
63 >> }
64 >>
65 >> +src_configure() {
66 >> + tc-export CC
67 >> + econf
68 >> +}
69 >> +
70 >> src_install() {
71 >> - dobin aggregate aggregate-ios
72 >> - doman aggregate.1 aggregate-ios.1
73 >> - dodoc LICENSE HISTORY
74 >> + dobin aggregate aggregate-ios || die
75 >> + doman aggregate{,-ios}.1
76 >> + dodoc HISTORY
77 >> }
78 >>
79 >>
80 >>
81 >

Replies