From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mail2.wnt.com.br (correio.wnetrj.com.br [200.244.149.20]) by chiba.3jane.net (Postfix) with ESMTP id 2B3E6ABD65 for ; Sun, 16 Jun 2002 13:41:18 -0500 (CDT) Received: from jurema.wnetrj.com.br (mail2.wnt.com.br [192.168.255.1]) by mail2.wnt.com.br (8.11.4/8.11.4) with ESMTP id g5GKock20938 for ; Sun, 16 Jun 2002 16:50:38 -0400 Received: from oenome (tempo17.wnetrj.com.br [200.255.52.17]) by jurema.wnetrj.com.br (8.11.6/8.11.6) with ESMTP id g5GIc6x02808 for ; Sun, 16 Jun 2002 15:38:12 -0300 Content-Type: text/plain; charset="iso-8859-1" From: Marcelo Fontenele S Santos To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Misc questions on ebuilds Date: Sun, 16 Jun 2002 15:40:49 -0300 User-Agent: KMail/1.4.1 References: <200206142221.59861.grossk@mail.tds.net> <20020614225629.A19382@lostlogicx.com> In-Reply-To: <20020614225629.A19382@lostlogicx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206161541.04319.msantos@pobox.com> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: c1e098f3-bb97-4458-9d20-0769dc47f82a X-Archives-Hash: 532fe4f0b2fb823d25c1a60882b1ade2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 15 June 2002 00:56, Brandon Low wrote: > Have you used the "lintool" script that comes with gentoolkit? It is a > nice tool which checks for most common ebuilding mistakes... > > On Fri, 06/14/02 at 22:21:59 -0500, Keith Gross wrote: > > I'm trying to improve the ebuilds I've been writing by reviewing the > > existing ebuilds but there seems they very widely. Everything from > > simple somewhat crude examples that looksomething like my efforts to > > other that are much larger and elaborate. Hi, I have some questions about lintool. In the lintool man page it says that it checks for conformance with the e= build=20 style guide. I found a Gentoo Linux Developers HOWTO and the Eclass (OOP-= like=20 ebuild) HOWTO but no Style Guide. Where is it? I also don't know what those errors mean: - - Testing for malformed headers - - Testing for presence of env vars What is a malformed header?=20 Or a wellformed?=20 Is the one in skel.ebuild correct? What is the error in using an env var inside an ebuild?=20 How can/can't one be used? If you run lintool on skel.ebuild it gives: /usr/portage/skel.ebuild : = Not=20 OK - -----------------------------------------------------------------------= -------- Summary for all 1 ebuild(s) checked #=20 errors/warns - -----------------------------------------------------------------------= -------- Testing for illegal space characters, weird backslash formatting : 0 / 0 Testing for malformed headers : 0 / 1 Testing for occurence of deprecated try : 0 / 0 Testing for superfluous A=3D${P}.tar.gz : 0 /= 0 Testing for empty DEPEND : 0 / 1 Testing for empty HOMEPAGE : 0 / 0 Testing for empty DESCRIPTION : 0 / 0 Testing for presence of env vars : 1 / 1 Testing for sane USE flag usage : 0 / 0 Total number of ebuilds with errors : 1 (10= 0%) Total number of ebuilds with warnings : 1 (10= 0%) Thanks, - --=20 Marcelo Fontenele S Santos ICQ# 2103731 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9DNu0CBYGr8x5oV8RAl54AJ0RIoZIWwewBsUcd1h62Hjge3PrewCdHitS 7+TW6Yw1t0X8G0X2r+uffeA=3D =3DCcxG -----END PGP SIGNATURE-----