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=-0.1 required=5.0 tests=DMARC_NONE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from lostlogicx.com (host158.spe.iit.edu [198.37.27.158]) by chiba.3jane.net (Postfix) with ESMTP id 15EA5ABD7E for ; Sun, 16 Jun 2002 01:12:03 -0500 (CDT) Received: (from lostlogic@localhost) by lostlogicx.com (8.11.4/8.11.2) id g5G6C2F19904 for gentoo-dev@gentoo.org; Sun, 16 Jun 2002 01:12:02 -0500 Date: Sun, 16 Jun 2002 01:12:01 -0500 From: Brandon Low To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Re: Misc questions on ebuilds Message-ID: <20020616011201.A15702@lostlogicx.com> References: <200206142221.59861.grossk@mail.tds.net> <20020614225629.A19382@lostlogicx.com> <6u5ngu8ocssir508h6v6a9ns2kk4klrkie@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <6u5ngu8ocssir508h6v6a9ns2kk4klrkie@4ax.com>; from spamtrap@ruddygore.net on Sat, Jun 15, 2002 at 08:53:04PM +0100 X-Operating-System: Linux found 2.4.17-openmosix 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: 101a0a15-d338-4a23-873a-82b7866a3e7d X-Archives-Hash: 33255c858010317acd25d2b8febc7988 The current policy is to explicitly define everything as lintool asks... for many/most ebuilds RDEPEND="${DEPEND}" works for now... SLOT is semi-optional, but for a new package, just make it SLOT="0" for consistency... --Brandon On Sat, 06/15/02 at 20:53:04 +0100, Mark Gordon wrote: > On Fri, 14 Jun 2002 22:56:29 -0500, 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... > > Some questions about that. Looking at skel.ebuild I thought that > RDEPEND did not need to be defined since it would default to DEPEND, > yet lintool considers not defining it an error. > > Is it considered better to allow things to default when the documented > defaults are correct or to explicitly define everything, in which case > I would have thought the skel.ebuild should tell you the normal values > but not say they are defaults for when items are not specified. > > I've already submitted one ebuild and hope to submit more, so I want > to get them as 'correct' as possible. > -- > Mark Gordon > > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev