Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC] What features should be included in EAPI 2?
Date: Tue, 19 Aug 2008 12:45:32
Message-Id: 82dd739f0808190545u3cb1632fj3590a6b130dd304a@mail.gmail.com
In Reply to: [gentoo-dev] Re: [RFC] What features should be included in EAPI 2? by Steve Long
1 On Tue, Aug 19, 2008 at 12:12 PM, Steve Long
2 <slong@××××××××××××××××××.uk> wrote:
3 > Ciaran McCreesh wrote:
4 >> If you're doing new phases... Exheres has been using src_prepare, after
5 >> src_unpack, to avoid having lots of things of the form:
6 >>
7 >> src_unpack() {
8 >> default
9 >> patch blah
10 >> eautoreconf
11 >> }
12 >>
13 > Besides saving one line of typing, what is the benefit of adding this new
14 > phase?
15
16 Uh, count again. It's not just one line of typing saved.
17
18 The benefit is that it's a logically separate action, and will avoid
19 all the silliness of people repeatedly changing their minds about
20 which phase should do the eautoreconf calls and so on.
21
22 --
23 Ciaran McCreesh

Replies

Subject Author
Re: [gentoo-dev] Re: [RFC] What features should be included in EAPI 2? Arun Raghavan <ford_prefect@g.o>