1 |
On 9 March 2012 06:30, Jeroen Roovers <jer@g.o> wrote: |
2 |
> On Thu, 8 Mar 2012 17:14:58 +0000 |
3 |
> Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: |
4 |
> |
5 |
>> Having a different, special rule for something that looks exactly like |
6 |
>> lots of other things that do not have that different, special rule is |
7 |
>> hardly hair splitting. This rule would have to be documented and have |
8 |
>> special code to carefully enforce it. That's a big deal. |
9 |
> |
10 |
> Exactly like HOMEPAGE is a big deal? |
11 |
> |
12 |
> HOMEPAGE Package's homepage. If you are unable to locate an |
13 |
> official one, try to provide a link to freshmeat.net or a similar |
14 |
> package tracking site. Never refer to a variable name in the string; |
15 |
> include only raw text. |
16 |
|
17 |
I'm not sure if that is a good example of "things that are weird like EAPI" |
18 |
|
19 |
You can set HOMEPAGE in an eclass for instance, using anything you can |
20 |
do with bash and build it out of substrings. |
21 |
|
22 |
perl-module.eclass does just that. |
23 |
|
24 |
[[ -z "${HOMEPAGE}" ]] && \ |
25 |
HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}/" |
26 |
|
27 |
Not really comparable in entirety to EAPI. |
28 |
|
29 |
-- |
30 |
Kent |
31 |
|
32 |
perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, |
33 |
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" |