Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Andrew Ross <aross@...>
Subject: position of inherit in ebuilds and checking via repoman
Date: Tue, 30 Mar 2004 22:13:05 +1000
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

Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
my ebuild
Next by thread:
Screem status
Previous by date:
Re: my ebuild
Next by date:
Screem status

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.