>>>>> On Mon, 07 May 2012, Samuli Suominen wrote:

> On 05/07/2012 01:27 AM, Ulrich Mueller wrote:
>> Are we now using behaviour of editors as a reference? With Emacs or
>> XEmacs, the template includes RESTRICT and places it before DEPEND
>> and RDEPEND.

> I would rather see RESTRICT dropped from the template included for
> emacs, because it's not expected for majority of ebuilds to have
> need for it (a fact).

So what? Then you just leave the variable empty. The template (or
rather "skeleton" in Emacs' terms) knows that the RESTRICT variable is
optional and will automatically remove the line.

> The template for emacs should be kept in sync with the example for
> vim (or whichever way around).

The skeleton for Emacs is kept in sync with skel.ebuild and the
devmanual, of course. I don't use vim and therefore I don't know what
its template does.

>>> Therefore I suggest we move this example a bit down in skel.ebuild
>>> as it's more logical to continue with new lines instead of applying
>>> in-between
>> 
>>> Any objections?
>> 
>> Yes. Please leave it as it is.

> Yeah, I will if someone has a (good) argument for doing so.

RESTRICT and PROPERTIES are on a single line and it's natural to add
them to the second group of such variables, namely LICENSE, SLOT,
KEYWORDS, and IUSE.

Whereas DEPEND and RDEPEND typically extend over several lines;
sometimes they are quite long. So, a RESTRICT line placed after
*DEPEND will be much more easily missed than in its current place.

Ulrich

Reply via email to