Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [RFC] default_* functions
Date: Sun, 10 Aug 2008 16:19:22
Message-Id: 200808101817.10500.Arfrever.FTA@gmail.com
In Reply to: Re: [gentoo-dev] [RFC] default_* functions by "Petteri Räty"
1 2008-08-10 17:07:16 Petteri Räty napisał(a):
2 > Thomas Anderson kirjoitti:
3 > > Hi,
4 > >
5 > > Currently we have default_* functions implemented in
6 > > portage(paludis has these too)
7 > > which allow the default implementation of a particular phase
8 > > to be called. Another handy function in the default_* series is
9 > > function 'default' which simply calls the default function for
10 > > whatever phase you're in. The 'default' function patch is probably
11 > > before you read this, and a release(2.2_rc7) will soon follow.
12 > >
13 > > Zac has said this release will have support for these functions in
14 > > EAPI 2_pre2. Discuss!
15 >
16 > So if you inherit an eclass that exports a function will default call
17 > the one from the eclass or the default in the PM?
18
19 default() calls functions from the package manager.
20
21 --
22 Arfrever Frehtes Taifersar Arahesis

Attachments

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