Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Making user patches globally available
Date: Fri, 27 Apr 2012 15:42:44
Message-Id: 4F9ABE2F.8050006@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Making user patches globally available by Ciaran McCreesh
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

Replies

Subject Author
Re: [gentoo-dev] Re: Making user patches globally available Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>