Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass for Python
Date: Wed, 29 Feb 2012 18:03:53
Message-Id: 20120229190305.4b79f5f4@epia.jer-c2.orkz.net
In Reply to: Re: [gentoo-dev] New eclass for Python by Krzysztof Pawlik
1 On Wed, 29 Feb 2012 18:38:22 +0100
2 Krzysztof Pawlik <nelchael@g.o> wrote:
3
4 > On 29/02/12 08:49, "Paweł Hajdan, Jr." wrote:
5 > > This is awesome! Compare that to over 3000 LOC of python.eclass. :)
6 >
7 > Count distutils.eclass too:
8 >
9 > $ wc -l python-distutils-ng.eclass python.eclass distutils.eclass
10 > 364 python-distutils-ng.eclass
11 > 3168 python.eclass
12 > 592 distutils.eclass
13
14 cvs/gentoo-x86/eclass $ cloc --by-file \
15 --force-lang="Bourne Again Shell",eclass python.eclass \
16 distutils .eclass python-distutils-ng.eclass
17 3 text files.
18 3 unique files.
19 0 files ignored.
20
21 http://cloc.sourceforge.net v 1.55 T=0.5 s (6.0 files/s, 8294.0
22 lines/s)
23 -----------------------------------------------
24 File blank comment code
25 -----------------------------------------------
26 python.eclass 396 288 2494
27 distutils.eclass 111 86 395
28 python-distutils-ng.eclass 51 110 216
29 -----------------------------------------------
30 SUM: 558 484 3105
31 -----------------------------------------------
32
33
34 jer