Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] clean deprecated eclasses(?) (was: missing quotes in eclasses)
Date: Thu, 14 Feb 2008 16:41:58
Message-Id: 20080214164133.6dee6cd5@snowcone
In Reply to: Re: [gentoo-dev] clean deprecated eclasses(?) (was: missing quotes in eclasses) by Peter Volkov
1 On Thu, 14 Feb 2008 16:52:57 +0300
2 Peter Volkov <pva@g.o> wrote:
3 > May be we should punt them from the tree?
4
5 Can't until everyone's using a package manager with working env saving.
6
7 > inherit - I did not found ebuilds where it is used, but actually I do
8 > not know how it was used, so may be I overlooked something.
9
10 That's there for historical reasons.
11
12 > The check was done with the following script:
13 >
14 > find /usr/portage \( -name '*.ebuild' -o -name '*.eclass' \) \
15 > -exec awk "/inherit.*[[:blank:]]+${eclass}([[:blank:]]+.*|$+)/{print
16 > FILENAME }" \{\} \;
17
18 Careful with that... You're better off searching on the INHERITED
19 metadata key.
20
21 --
22 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature