Gentoo Archives: gentoo-dev

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

Replies