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