Re: [gentoo-dev] [RFC] default_* functions
2008-08-10 17:07:16 Petteri Räty napisał(a): > Thomas Anderson kirjoitti: > > Hi, > > > > Currently we have default_* functions implemented in > > portage(paludis has these too) > > which allow the default implementation of a particular phase > > to be called. Another handy function in the default_* series is > > function 'default' which simply calls the default function for > > whatever phase you're in. The 'default' function patch is probably > > before you read this, and a release(2.2_rc7) will soon follow. > > > > Zac has said this release will have support for these functions in > > EAPI 2_pre2. Discuss! > > So if you inherit an eclass that exports a function will default call > the one from the eclass or the default in the PM? default() calls functions from the package manager. -- Arfrever Frehtes Taifersar Arahesis signature.asc Description: This is a digitally signed message part.
Re: [gentoo-dev] [RFC] default_* functions
Thomas Anderson kirjoitti: Hi, Currently we have default_* functions implemented in portage(paludis has these too) which allow the default implementation of a particular phase to be called. Another handy function in the default_* series is function 'default' which simply calls the default function for whatever phase you're in. The 'default' function patch is probably before you read this, and a release(2.2_rc7) will soon follow. Zac has said this release will have support for these functions in EAPI 2_pre2. Discuss! So if you inherit an eclass that exports a function will default call the one from the eclass or the default in the PM? Regards, Petteri signature.asc Description: OpenPGP digital signature
[gentoo-dev] [RFC] default_* functions
Hi, Currently we have default_* functions implemented in portage(paludis has these too) which allow the default implementation of a particular phase to be called. Another handy function in the default_* series is function 'default' which simply calls the default function for whatever phase you're in. The 'default' function patch is probably before you read this, and a release(2.2_rc7) will soon follow. Zac has said this release will have support for these functions in EAPI 2_pre2. Discuss! pgpjbN00ADzUE.pgp Description: PGP signature