1 |
On 15 September 2012 08:51, Rick "Zero_Chaos" Farina |
2 |
<zerochaos@g.o> wrote: |
3 |
> ozzie eclass # grep 'DESCRIPTION="Based on the ' *.eclass |
4 |
> cannadic.eclass:DESCRIPTION="Based on the $ECLASS eclass" |
5 |
> confutils.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
6 |
> embassy.eclass:DESCRIPTION="Based on the $ECLASS eclass" |
7 |
> eutils.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
8 |
> games.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
9 |
> gnatbuild.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
10 |
> gnuconfig.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
11 |
> libtool.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
12 |
> linux-mod.eclass:DESCRIPTION="Based on the $ECLASS eclass" |
13 |
> nsplugins.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
14 |
> perl-module.eclass:DESCRIPTION="Based on the $ECLASS eclass" |
15 |
> qmail.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
16 |
> toolchain-funcs.eclass:DESCRIPTION="Based on the ${ECLASS} eclass" |
17 |
|
18 |
+1. |
19 |
|
20 |
There's no use cases I know of where having a description as such is useful. |
21 |
|
22 |
Either the Eclass should be able to provide a useful DESCRIPTION for |
23 |
each and every derived ebuild, or it should provide none at all. |
24 |
|
25 |
Maybe the Eclass has a translation from $P to $DESCRIPTION somehow |
26 |
that is useful, but "Based on the ECLASS eclass" is about as useful as |
27 |
DESCRIPTION="An EAPI $EAPI Ebuild" or just "An Ebuild", or just no |
28 |
description at all. |
29 |
|
30 |
If the usecase for this is "Sometimes people will want to write an |
31 |
ebuild and not provide a description at all, and don't care that its |
32 |
not useful", then it shoudn't be supported by a nasty hack in the |
33 |
parent eclass, Portage should instead support a missing DESCRIPTION |
34 |
feature. |
35 |
|
36 |
|
37 |
-- |
38 |
Kent |
39 |
|
40 |
perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, |
41 |
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" |
42 |
|
43 |
http://kent-fredric.fox.geek.nz |