public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] default_* functions
@ 2008-08-07 15:17 Thomas Anderson
  2008-08-10 15:07 ` Petteri Räty
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Anderson @ 2008-08-07 15:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

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!

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [RFC] default_* functions
  2008-08-07 15:17 [gentoo-dev] [RFC] default_* functions Thomas Anderson
@ 2008-08-10 15:07 ` Petteri Räty
  2008-08-10 16:16   ` Arfrever Frehtes Taifersar Arahesis
  0 siblings, 1 reply; 3+ messages in thread
From: Petteri Räty @ 2008-08-10 15:07 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [RFC] default_* functions
  2008-08-10 15:07 ` Petteri Räty
@ 2008-08-10 16:16   ` Arfrever Frehtes Taifersar Arahesis
  0 siblings, 0 replies; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2008-08-10 16:16 UTC (permalink / raw
  To: Gentoo Development

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-10 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 15:17 [gentoo-dev] [RFC] default_* functions Thomas Anderson
2008-08-10 15:07 ` Petteri Räty
2008-08-10 16:16   ` Arfrever Frehtes Taifersar Arahesis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox