Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] SHA256 and indention in metadata.xml
Date: Sun, 26 Jun 2011 16:15:46
Message-Id: BANLkTi=Mc9y0_oPmzMP0qHhFzu8ouc1dRA@mail.gmail.com
In Reply to: Re: [gentoo-dev] SHA256 and indention in metadata.xml by Maciej Mrozowski
1 On Sun, Jun 26, 2011 at 8:50 PM, Maciej Mrozowski <reavertm@×××××.com> wrote:
2 > On Saturday 25 of June 2011 22:32:43 Jorge Manuel B. S. Vicetto wrote:
3 >> *DEPEND="
4 >>       !<X-2.0
5 >>       !Y
6 >>       <A>
7 >>       <B>
8 >>       ...
9 >>       <Z>
10 >>       a? ( <X> )
11 >>       b? ( <Y> )
12 >>       c? (
13 >>               <J>
14 >>               <K>
15 >>       )
16 >> "
17 >
18 > ^^ is actually the main point of my "ebuild formatting nazi" agenda (usually
19 > followed by "oh why did you break formatting in my shiny ebuild!11, revert!"
20 > chants by various developers in case I happened to touch packages of theirs).
21 >
22 > I never understood the reason after keeping deps not sorted alphabetically
23 > where order doesn't matter - it's like someone purposely made ebuild harder to
24 > read - it's counter productive.
25 >
26
27 Well, the GNOME team likes to order it by "type" and "library
28 heirarchy". So, libraries in one paragraph, then applications. Plain-C
29 libraries first, followed by glib, and then glib-using libraries, and
30 then gtk+, and gtk+-using libraries, then Python modules, etc. We also
31 separate out lines with and without versions/blocks/use-conditionals
32 in them to make them easier to read.
33
34
35 --
36 ~Nirbheek Chauhan
37
38 Gentoo GNOME+Mozilla Team