1 |
On 04/27/2012 07:27 AM, Ciaran McCreesh wrote: |
2 |
> On Fri, 27 Apr 2012 14:15:35 +0000 (UTC) |
3 |
> Duncan <1i5t5.duncan@×××.net> wrote: |
4 |
>> In ordered to make it globally available, it cannot simply be an |
5 |
>> EAPI-5 thing, it must apply to all current ebuilds whether they (or |
6 |
>> an inherited eclass) call epatch_user or not. Which means that |
7 |
>> conflict with the existing epatch_user is unavoidable, since it will |
8 |
>> either try to run twice where it's already called, or it won't run at |
9 |
>> all where it's not. |
10 |
> |
11 |
> In order to make it globally available, you put it in EAPI 5, and make |
12 |
> the package mangler die at pretend time if the user has patches |
13 |
> specified for a package that isn't EAPI 5. |
14 |
|
15 |
Or, have repoman assert that src_prepare contains an epatch_user call if |
16 |
EAPI is less than 5. |
17 |
-- |
18 |
Thanks, |
19 |
Zac |