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 1LgNw0-0007DQ-Ds for garchives@archives.gentoo.org; Sun, 08 Mar 2009 18:41:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE400E039C; Sun, 8 Mar 2009 18:41:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 86BA5E039C for ; Sun, 8 Mar 2009 18:41:10 +0000 (UTC) Received: from gentoo.org (c-98-246-79-112.hsd1.or.comcast.net [98.246.79.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1558B64BE2 for ; Sun, 8 Mar 2009 18:41:10 +0000 (UTC) Date: Sun, 8 Mar 2009 11:41:09 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Message-ID: <20090308184109.GK14240@comet> References: <1236498557.6854.51.camel@neuromancer> <20090308164228.GG14240@comet> <20090308164806.1d3fa1d7@snowcone> <20090308170104.GH14240@comet> <20090308182446.GI14240@comet> <1236537339.9458.74.camel@neuromancer> 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TC23+W66xmFESAX" Content-Disposition: inline In-Reply-To: <1236537339.9458.74.camel@neuromancer> User-Agent: Mutt/1.5.18 (2008-05-17) X-Archives-Salt: 1f47b5a4-f232-4865-85c1-e9cb6a228ce8 X-Archives-Hash: 8f8dfdd68b2aa3950b628d25818a68f8 --6TC23+W66xmFESAX Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 19:35 Sun 08 Mar , Tiziano M=FCller wrote: > Am Sonntag, den 08.03.2009, 11:24 -0700 schrieb Donnie Berkholz: > > On 10:01 Sun 08 Mar , Donnie Berkholz wrote: > > > On 16:48 Sun 08 Mar , Ciaran McCreesh wrote: > > > > On Sun, 8 Mar 2009 09:42:29 -0700 > > > > Donnie Berkholz wrote: > > > > > - I understand the reasoning for the SRC_CONFIGURE_WITH blah stuf= f. I=20 > > > > > strongly oppose this implementation because it makes ebuilds less > > > > > like bash scripts that are easy to understand. Instead I suggest > > > > > extending use_with() and use_enable() to accept multiple sets of > > > > > arguments (alternately, making custom, similar functions that will > > > > > take multiple args). > > > >=20 > > > > How would that work? I can't see an obvious way of doing it that is= n't > > > > more or less as verbose as just using multiple calls. > > >=20 > > > It would just eliminate all but one call to use_with(). Depending on = how=20 > > > many you've got, this can shorten things up a fair bit. Here's an=20 > > > example: > > >=20 > > > econf \ > > > $(use_with 'x X' 'foo libfoo' 'bar' 'python pygtk') > > > econf \ > > > $(use_with x X) \ > > > $(use_with foo libfoo) \ > > > $(use_with bar) \ > > > $(use_with python pygtk) > >=20 > > And the straightforward evolution of this would be additional with() an= d=20 > > enable() functions for mandatory support. I still find this more=20 > > intuitive than the set of variables. > >=20 > > econf \ > > $(use_with 'x X' 'foo libfoo' 'bar' 'python pygtk') \ > > $(with foo bar blah baz) \ > > $(enable bam paw tick) > >=20 >=20 > Which could already be written as ... > econf --with-{foo,bar} > using bash :-) >=20 > (or did I miss the point?) Consistency, and that gets pretty ugly after a few when you also want to=20 pass arguments to them. --=20 Thanks, Donnie Donnie Berkholz Developer, Gentoo Linux Blog: http://dberkholz.wordpress.com --6TC23+W66xmFESAX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEABECAAYFAkm0EUUACgkQXVaO67S1rtucHwCgxT8BEtMjkboQrDeuUDG6bjrq UCsAn2cWj54zGMA+aiYZA4Q5jOvVb2cx =x9qg -----END PGP SIGNATURE----- --6TC23+W66xmFESAX--