On 1/2/2013 6:41 PM, Pacho Ramos wrote:
> What is the purpose of this stuff:
> if [[ ${___ECLASS_ONCE_EUTILS} != "recur -_+^+_- spank" ]] ; then
> ___ECLASS_ONCE_EUTILS="recur -_+^+_- spank"
> 
> and similar in some eclasses (like eutils, multilib) but not others
> (like python-single-r1 that I was looking some days ago for learning how
> to use it)?
> 
> Thanks a lot for the info

It prevents eclasses from being sourced more than once. It is meant as a
performance enhancement for when eclasses inherit other eclasses. vapier
posted some stats on this list a while back.

We have a similar thing in python-single-r1. We call it
_PYTHON_SINGLE_R1 and assign a value of 1 at the bottom of the eclass.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to