Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds
Date: Sat, 10 Mar 2012 01:07:44
Message-Id: CAATnKFAc8w5wD=UZDLiH1EF4iFCi2YYwWWvaDwHzjdZbuFRrVg@mail.gmail.com
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Jeroen Roovers
On 9 March 2012 06:30, Jeroen Roovers <jer@g.o> wrote:
> On Thu, 8 Mar 2012 17:14:58 +0000 > Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: > >> Having a different, special rule for something that looks exactly like >> lots of other things that do not have that different, special rule is >> hardly hair splitting. This rule would have to be documented and have >> special code to carefully enforce it. That's a big deal. > > Exactly like HOMEPAGE is a big deal? > > HOMEPAGE         Package's homepage. If you are unable to locate an > official one, try to provide a link to freshmeat.net or a similar > package tracking site. Never refer to a variable name in the string; > include only raw text.
I'm not sure if that is a good example of "things that are weird like EAPI" You can set HOMEPAGE in an eclass for instance, using anything you can do with bash and build it out of substrings. perl-module.eclass does just that. [[ -z "${HOMEPAGE}" ]] && \ HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}/" Not really comparable in entirety to EAPI. -- Kent perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

Replies

Subject Author
Re: [gentoo-dev] RFD: EAPI specification in ebuilds Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>