From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KccIL-0007d3-Be for garchives@archives.gentoo.org; Mon, 08 Sep 2008 08:40:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4631DE02C7; Mon, 8 Sep 2008 08:40:24 +0000 (UTC) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by pigeon.gentoo.org (Postfix) with ESMTP id 22FB5E02C7 for ; Mon, 8 Sep 2008 08:40:24 +0000 (UTC) Received: by wr-out-0506.google.com with SMTP id c37so1428565wra.26 for ; Mon, 08 Sep 2008 01:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=D+YEUOBUyXrAacyLyikyd7bkGoe10j6yuUb3r6Ps0DE=; b=aPL0HvgNZN2koKbCH13V3oHSljMSNEEeivmE3eWh8QhAJE7gKiljstJtnO7kdVt/dB IU5eUDFpz1dxeqcYvzWxikLHDq1ti2kT3qgDAuyzSPSNrD0b0fCkqlqTLtSLc/kNDU3a f65nxxQSyfp38u+NqzH3fF6/XZt1rghAkoxtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=HRCLBsRQDJOnRh0lPcbybZ+1iSGasnC7zn+w5Fo1pfcOvlwrxw+W1nE4IyaY0oUB92 oGhLnliMVWAi2lbeIgQ0gPsw2AaCOsmy/PjsCPzUkjQXWJskZHHuVjoiiBb2+2TekfGq 8MiTVHxDDlbcrBdQWxL+68SUkip9fWaHMR02s= Received: by 10.90.100.17 with SMTP id x17mr18846063agb.48.1220863223090; Mon, 08 Sep 2008 01:40:23 -0700 (PDT) Received: by 10.90.49.6 with HTTP; Mon, 8 Sep 2008 01:40:23 -0700 (PDT) Message-ID: <3c32af40809080140g336630bfyb8b853ddc54100ff@mail.gmail.com> Date: Mon, 8 Sep 2008 10:40:23 +0200 From: "Santiago M. Mola" Sender: cooldwind@gmail.com To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile In-Reply-To: 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 118fa65259698e4c X-Archives-Salt: c3f8a27c-8850-4412-9f07-718f3fdc8cf7 X-Archives-Hash: a9beb143240b4ecd7b91afb8f110405d On Mon, Sep 8, 2008 at 9:48 AM, Vaeth wrote: > > But it doesn't do this well, because it is incompatible with any other > case. Assume, for example, that you have an ebuild in this manner and > that for the new release or for a bugfix you need a small non-included > thing - then this means that you have to rewrite the ebuild almost > completely. The suggestion violates in an extreme way the golden design > rule that small changes in effect should require small changes in source. > Moreover, a second syntax is introduced which everybody has learn, > although it could be done as easily by the standard commands. > > Yes, you're right. That would be really tedious and stupid... but we're lucky, and EAPI-2 introduced the 'default' function. So if you need to do a small change not covered by this method, you just define the phase, make the little change, and then call the 'default' function. Clean and simple. In any case, I guess people are not considering this change for EAPI-2. I think we'll come up with a more extense proposal which could be targeted for EAPI-3. Regards, -- Santiago M. Mola Jabber ID: cooldwind@gmail.com