Your IP : 3.139.239.25


Current Path : /opt/alt/python27/lib64/python2.7/ctypes/macholib/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/ctypes/macholib/framework.pyc

�
^
bc@sVdZddlZdgZejd�Zd�Zd�ZedkrRe�ndS(s%
Generic framework path manipulation
i����Ntframework_infos�(?x)
(?P<location>^.*)(?:^|/)
(?P<name>
    (?P<shortname>\w+).framework/
    (?:Versions/(?P<version>[^/]+)/)?
    (?P=shortname)
    (?:_(?P<suffix>[^_]+))?
)$
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>/opt/alt/python27/lib64/python2.7/ctypes/macholib/framework.pyRscCsKdddddd�}td�dks0t�td�dksHt�td�dks`t�td�dksxt�td�|ddd	�ks�t�td
�|ddd	dd
�ks�t�td�dks�t�td�dks�t�td�|ddd	d�kst�td�|ddd	dd
�ksGt�dS(NcSs%td|d|d|d|d|�S(Ntlocationtnamet	shortnametversiontsuffix(tdict(RRR	R
R((s>/opt/alt/python27/lib64/python2.7/ctypes/macholib/framework.pytd-sscompletely/invalidscompletely/invalid/_debugs
P/F.frameworksP/F.framework/_debugsP/F.framework/FtPs
F.framework/FtFsP/F.framework/F_debugsF.framework/F_debugRtdebugsP/F.framework/VersionssP/F.framework/Versions/AsP/F.framework/Versions/A/FsF.framework/Versions/A/FtAs P/F.framework/Versions/A/F_debugsF.framework/Versions/A/F_debug(RRtAssertionError(R
((s>/opt/alt/python27/lib64/python2.7/ctypes/macholib/framework.pyttest_framework_info,s$*'t__main__(t__doc__tret__all__tcompileRRRt__name__(((s>/opt/alt/python27/lib64/python2.7/ctypes/macholib/framework.pyt<module>s				

?>