Viewing File: /opt/alt/python312/lib64/python3.12/ctypes/macholib/__pycache__/framework.cpython-312.opt-1.pyc

�

<��iQ��@�dZddlZdgZejd�Zd�Zy)z%
Generic framework path manipulation
�N�framework_infoz�(?x)
(?P<location>^.*)(?:^|/)
(?P<name>
    (?P<shortname>\w+).framework/
    (?:Versions/(?P<version>[^/]+)/)?
    (?P=shortname)
    (?:_(?P<suffix>[^_]+))?
)$
c�R�tj|�}|sy|j�S)a}
    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)�STRICT_FRAMEWORK_RE�match�	groupdict)�filename�is_frameworks  �@/opt/alt/python312/lib64/python3.12/ctypes/macholib/framework.pyrrs)��('�,�,�X�6�L����!�!�#�#�)�__doc__�re�__all__�compilerr�rr
�<module>rs2���
��
�� �b�j�j�"���$r
Back to Directory File Manager