From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SNnJk-0008Nc-DY for garchives@archives.gentoo.org; Fri, 27 Apr 2012 15:42:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AF8DE093A; Fri, 27 Apr 2012 15:42:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 58F23E081E for ; Fri, 27 Apr 2012 15:41:37 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id DABD81B4049 for ; Fri, 27 Apr 2012 15:41:36 +0000 (UTC) Message-ID: <4F9ABE2F.8050006@gentoo.org> Date: Fri, 27 Apr 2012 08:41:35 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120404 Thunderbird/11.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Making user patches globally available References: <20120415021641.1858ffde@gentoo.org> <4F8A885C.3050508@gentoo.org> <20120418185913.3d2fa68f@epia.jer-c2.orkz.net> <201204181340.00474.vapier@gentoo.org> <20120418184138.50153e57@googlemail.com> <4F8F05E9.5070103@gentoo.org> <4F8F0929.2010109@googlemail.com> <4F8F18EC.3000707@gentoo.org> <4F8F3513.2060202@googlemail.com> <20120425224433.2fa0f2de@gentoo.org> <4F98EA90.4000403@gentoo.org> <4F9967DE.8000601@gentoo.org> <4F99F941.90705@gentoo.org> <20120427152709.14a6c0bf@googlemail.com> In-Reply-To: <20120427152709.14a6c0bf@googlemail.com> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d025656b-7014-4351-a531-dc2aeec0e79a X-Archives-Hash: 2f8d47fc17a952e6ddfaf20b6ffefc19 On 04/27/2012 07:27 AM, Ciaran McCreesh wrote: > On Fri, 27 Apr 2012 14:15:35 +0000 (UTC) > Duncan <1i5t5.duncan@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