Gentoo Archives: gentoo-dev

From: Andrew Ross <aross@×××××××××××.au>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] position of inherit in ebuilds and checking via repoman
Date: Tue, 30 Mar 2004 12:13:21
Message-Id: 1080648785.7111.75.camel@localhost
While reading ebuild descriptions returned via emerge search, I've
noticed descriptions such as "Based on the eutils eclass".

A quick check of the ebuilds in question show that they are setting
DESCRIPTION before calling inherit.

In bug #36322, SpanKY (vapier@g.o) wrote "you inherit before you
do anything else in ebuilds, read the docs/policy, it should be in there
somewhere". He makes similar statements in bug #15675 

This seems to be supported by the eclass HOWTO
(, yet there are a still a
number of ebuilds in portage which do not adhere to this convention
(including mainstream packages such as mod_php).

I'm going to submit a bug report (with patch, of course) for each ebuild
I find that uses inherit incorrectly, mainly, because I'm sick of
missing out on the descriptions :-)

Would it be appropriate for repoman to check for the correct use of



gentoo-dev@g.o mailing list