ó o®¸Qc@sVdZddlZdgZejdƒZd„Zd„ZedkrReƒndS(s% Generic framework path manipulation iÿÿÿÿNtframework_infos¢(?x) (?P^.*)(?:^|/) (?P (?P\w+).framework/ (?:Versions/(?P[^/]+)/)? (?P=shortname) (?:_(?P[^_]+))? )$ cCs#tj|ƒ}|sdS|jƒS(s} A framework name can take one of the following four forms: Location/Name.framework/Versions/SomeVersion/Name_Suffix Location/Name.framework/Versions/SomeVersion/Name Location/Name.framework/Name_Suffix Location/Name.framework/Name returns None if not found, or a mapping equivalent to: dict( location='Location', name='Name.framework/Versions/SomeVersion/Name_Suffix', shortname='Name', version='SomeVersion', suffix='Suffix', ) Note that SomeVersion and Suffix are optional and may be None if not present N(tSTRICT_FRAMEWORK_REtmatchtNonet groupdict(tfilenamet is_framework((s//sys/lib/python2.7/ctypes/macholib/framework.pyRscCsdddddd„}dS(Nc Ss%td|d|d|d|d|ƒS(Ntlocationtnamet shortnametversiontsuffix(tdict(RRR R R ((s//sys/lib/python2.7/ctypes/macholib/framework.pytd0s (R(R ((s//sys/lib/python2.7/ctypes/macholib/framework.pyttest_framework_info/st__main__(t__doc__tret__all__tcompileRRRt__name__(((s//sys/lib/python2.7/ctypes/macholib/framework.pyts