�� r�$Lc�����������@���sO���d��Z��d�Z�d�g�Z�d�d�k�Z�d�Z�d�Z�d����Z�d����Z�d�d���Z �d�S(���s��engine.SCons.Variables.PackageVariable This file defines the option type for SCons implementing 'package activation'. To be used whenever a 'package' may be enabled/disabled and the package path may be specified. Usage example: Examples: x11=no (disables X11 support) x11=yes (will search for the package installation dir) x11=/usr/local/X11 (will check this path for existance) To replace autoconf's --with-xxx=yyy opts = Variables() opts.Add(PackageVariable('x11', 'use X11 installed here (yes = search some places', 'yes')) ... if env['x11'] == True: dir = ... search X11 in some standard places ... env['x11'] = dir if env['x11']: ... build with x11 ... sL���src/engine/SCons/Variables/PackageVariable.py 5023 2010/06/14 22:05:46 sconst���PackageVariablei����Nt���1t���yest���truet���ont���enablet���searcht���0t���not���falset���offt���disablec���������C���s4���|��i�����}�|�t�j�o�t�S|�t�j�o�t�S|��S(���s��� (���t���lowert���__enable_stringst���Truet���__disable_stringst���False(���t���valt���lval(����(����sB���install/lib/scons-2.0.0.final.0/SCons/Variables/PackageVariable.pyt ���_converter>���s���� � �c���������C���s����d�d�k��}�|�|��t�j�o"�|�o�|�|��|���|�|��<q~�n@�|�|��o4�|�i�i�|���o �t�i�i�d�|��|�f�����n�d�S(���s��� i����Ns%���Path does not exist for option %s: %s(���t���osR���t���patht���existst���SConst���Errorst ���UserError(���t���keyR���t���envt ���searchfuncR���(����(����sB���install/lib/scons-2.0.0.final.0/SCons/Variables/PackageVariable.pyt ���_validatorH���s���� c������������s5���d�i��|�d�|��f���}�|��|�|����f�d����t�f�S(���s/�� The input parameters describe a 'package list' option, thus they are returned with the correct converter and validator appended. The result is usable for input to opts.Add() . A 'package list' option may either be 'all', 'none' or a list of package names (seperated by space). s��� s���( yes | no | /path/to/%s )c������������s���t��|��|�|������S(����(���R���(���t���kt���vt���e(���R���(����sB���install/lib/scons-2.0.0.final.0/SCons/Variables/PackageVariable.pyt���<lambda>c���s����(���t���joinR���(���R���t���helpt���defaultR���(����(���R���sB���install/lib/scons-2.0.0.final.0/SCons/Variables/PackageVariable.pyR����V���s ���� (���R���s���yess���trues���onR���s���search(���R���s���nos���falses���offR���(���t���__doc__t���__revision__t���__all__t���SCons.ErrorsR���R ���R���R���R���t���NoneR����(����(����(����sB���install/lib/scons-2.0.0.final.0/SCons/Variables/PackageVariable.pyt���<module>���s���