[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-geosciences/mapserver:
From:       justin <jlec () gentoo ! org>
Date:       2010-12-26 16:13:42
Message-ID: 4D1769B6.802 () gentoo ! org
[Download RAW message or body]


On 26/12/10 16:20, Petteri Räty wrote:
> On 12/24/2010 11:19 AM, Justin (jlec) Lecher wrote:
>> On 24/12/10 02:18, Arfrever Frehtes Taifersar Arahesis wrote:
>>> What do you mean about python.eclass?
>>> python.eclass doesn't define python_src_unpack().
>>>
>>
>> No it doesn't, but calling the default() function in a phase will make
>> the default phase be called. And this is implemented in the python.eclass.
>>
> 
> default calls the PM implementation, not the eclass implementation.
> 
> From PMS:
> 
> default
> 
> Calls the default_ function for the current phase (see section 10.1.17).
> Must not be called if the default_ function does not exist for the
> current phase in the current EAPI. Only available in EAPIs listed in
> table 12.14.
> 
> 10.1.17:
> 
> DEFAULT-In EAPIs listed in table 10.8 as supporting default_ phase
> functions, a function named default_(phase) that behaves as the default
> implementation for that EAPI shall be defined when executing any ebuild
> phase listed in the table. Ebuilds must not call these functions except
> when in the phase in question.
> 
> Regards,
> Petteri
> 

Thanks for clarification, Petteri.
I only knows this from the python dev guide, so I assumed it to come
from python.eclass.

justin


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic