add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
�

��Vc
.cs��dZgd�ZddlZdZdZdZeezZdZedzd	zZd
Z	dZ
eeze
zezZdd�Zddl
Zdd
lmZiZGd�d��Ze���Gd�d��ZdS)anA collection of string constants.

Public module variables:

whitespace -- a string containing all ASCII whitespace
ascii_lowercase -- a string containing all ASCII lowercase letters
ascii_uppercase -- a string containing all ASCII uppercase letters
ascii_letters -- a string containing all ASCII letters
digits -- a string containing all ASCII decimal digits
hexdigits -- a string containing all ASCII hexadecimal digits
octdigits -- a string containing all ASCII octal digits
punctuation -- a string containing all ASCII punctuation characters
printable -- a string containing all ASCII characters considered printable

)�
ascii_letters�ascii_lowercase�ascii_uppercase�capwords�digits�	hexdigits�	octdigits�	printable�punctuation�
whitespace�	Formatter�Template�Nz 	

ZabcdefghijklmnopqrstuvwxyzZABCDEFGHIJKLMNOPQRSTUVWXYZZ
0123456789ZabcdefZABCDEFZ01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~cs��|pd�ttj|�|������S)a�capwords(s [,sep]) -> string

    Split the argument into words using split, capitalize each
    word using capitalize, and join the capitalized words using
    join.  If the optional second argument sep is absent or None,
    runs of whitespace characters are replaced by a single space
    and leading and trailing whitespace are removed, otherwise
    sep is used to split and join the words.

    z )�joinZmap�strZ
capitalizeZsplit)�sZsep�  �/usr/lib64/python3.11/string.pyrr%s2��
�J�3���S���������>�>�?�?�?�)�ChainMapcsh��eZdZdZdZdZdZejZ	�fd�Z
d�Zd�Ze
fd�Ze
fd	�Zd
�Zd�Z�xZS)rz.A string class for supporting $-substitutions.z$z(?a:[_a-z][_a-z0-9]*)Nc	s<��t�����d|jvr|j}n=t	j|j��}|j}|jp|j}d|�d|�d|�d|�d�	}t	j	||j
tjz��|_dS)N�patternz
            z(?:
              (?P<escaped>zC)  |   # Escape sequence of two delimiters
              (?P<named>zJ)       |   # delimiter and a Python identifier
              {(?P<braced>z�)} |   # delimiter and a braced identifier
              (?P<invalid>)             # Other ill-formed delimiter exprs
            )
            )Zsuper�__init_subclass__Z__dict__r�_reZescape�	delimiter�	idpattern�braceidpatternZcompile�flagsZVERBOSE)ZclsrZdelimZidZbid�	__class__s     �rrzTemplate.__init_subclass__Es����
���!�!�#�#�#����$�
	��k�G�G��J�s�}�-�-�E���B��$�5��
�C��
��� ������ �	���G��k�'�3�9�s�{�+B�C�C����rcs�||_dS�N)�template)�selfrrr�__init__zTemplate.__init__Ws
�� ��
�
�
rcs �|�d��}|jd|��d���}|sd}d}n<|td�|dd�����z
}t|��}td||fz���)N�invalidT)Zkeepends��i����z.Invalid placeholder in string: line %d, col %d)ZstartrZ
splitlinesZlenr
�
ValueError)r�mo�iZlinesZcolnoZlinenos      r�_invalidzTemplate._invalid\s����H�H�Y�����
�b�q�b�!�,�,�d�,�;�;���	 ��E��F�F���B�G�G�E�#�2�#�J�/�/�0�0�0�E���Z�Z�F��I� �%��)�*�*�	*rc�����tur|�n|rt|������fd�}�j�|�j��S)Ncs<��|�d��p|�d��}|�t�|��S|�d����jS|�d�����|��t	d�j����N�named�braced�escapedr �#Unrecognized named group in pattern)�grouprrr&r#r�r$r)�mappingr�  ��r�convertz$Template.substitute.<locals>.convertns�����H�H�W�%�%�;����(�);�);�E��
+��7�5�>�*�*�*��x�x�	�"�"�
&��~�%��x�x�	�"�"�
"��
�
�b�!�!�!��B�!�\�+�+�
+r��_sentinel_dict�	_ChainMaprZsubr�rr/Zkwsr1�``  r�
substitutezTemplate.substitutehsi�����n�$�	.��G�G�
�	.���W�-�-�G�
	+�
	+�
	+�
	+�
	+�
	+��|������7�7�7rcr')Ncs���|�d��p|�d��}|�:	t�|��S#t$r|���cYSwxYw|�d����jS|�d���|���St	d�j���r()r-rZKeyErrorrr#rr.r0rr1z)Template.safe_substitute.<locals>.convert�s�����H�H�W�%�%�;����(�);�);�E��
&�&��w�u�~�.�.�.���&�&�&��8�8�:�:�%�%�%�&�����x�x�	�"�"�
&��~�%��x�x�	�"�"�
"��x�x�z�z�!��B�!�\�+�+�
+s�A�A%�$A%r2r5r6r�safe_substitutezTemplate.safe_substitute{si�����n�$�	.��G�G�
�	.���W�-�-�G�	+�	+�	+�	+�	+�	+��|������7�7�7rcs"�|j�|j��D]n}|�d���dS|�d���?|�d���*|�d���t	d|j����odS)Nr Fr)r*r+r,T)r�finditerrr-r#)rr$rr�is_validzTemplate.is_valid�s����,�'�'��
�6�6�		"�		"�B��x�x�	�"�"�
��u�u�����!�!�
"��H�H�X�&�&�
"��H�H�Y�'�'�
"�
!�!F��L�"�"�"���trcs\�g}|j�|j��D]�}|�d��p|�d��}|�||vr|�|���H|�?|�d���*|�d���td|j�����|S)Nr)r*r r+r,)rr9rr-�appendr#)rZidsr$r)�    r�get_identifierszTemplate.get_identifiers�s������,�'�'��
�6�6�	"�	"�B��H�H�W�%�%�;����(�);�);�E��	
"�U�#�%5�	
"��
�
�5�!�!�!�!��
"��H�H�Y�'�'�
"��H�H�Y�'�'�
"�
!�!F��L�"�"�"���
r)�__name__�
__module__�__qualname__�__doc__rrrrZ
IGNORECASErrrr&r3r7r8r:r=Z
__classcell__)rs@rrr9s��������8�8��I�
)�I��N��N�E�D�D�D�D�D�$!�!�!�

*�
*�
*�"0�8�8�8�8�&'5�8�8�8�8�*���������rrcsH�eZdZd�Zd�Z	dd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�ZdS)
r
cs0�|�|||��Sr)�vformat)r�
format_string�args�kwargsr<r�formatzFormatter.format�s���|�|�M�4��8�8�8rcs��t��}|�||||d��\}}|�|||��|S)Ni)Zset�_vformat�check_unused_args)rrCrDrE�	used_args�resultZ_s       rrBzFormatter.vformat�sE���E�E�	��M�M�-��v�y�!�L�L�	������y�$��7�7�7��
rrc	s��|dkrtd���g}|�|��D�]\}}	}
}|r|�|��|	��|	dkr(|durtd���t|��}	|dz
}n'|	���r|rtd���d}|�|	||��\}}
|�|
��|�||��}|�|
||||dz
|���\}
}|�|�	||
������d�
|��|fS)NrzMax string recursion exceededr"FzJcannot switch from manual field specification to automatic field numberingr!)�auto_arg_index)r#�parser;rZisdigit�	get_fieldZadd�
convert_fieldrG�format_fieldr
)rrCrDrErIZrecursion_depthrKrJZliteral_text�
field_name�format_spec�
conversion�objZarg_useds              rrGzFormatter._vformat�s����Q��	>��<�=�=�=����
�
�=�)�)�,	C�,	C�=�L�*�k�:��
,��
�
�l�+�+�+��$
C�
��#�+�%��.�6�(�*5�6�6�6�"%�^�!4�!4�J�"�a�'�N�N��'�'�)�)�+�%�6�(�*5�6�6�6�
&+�N�!%���z�4�� H� H�
��X��
�
�h�'�'�'��(�(��j�9�9��/3�m�m���v���q�0�#1�/<�/3�/3�+��^��
�
�d�/�/��[�A�A�B�B�B���w�w�v����.�.rcsL�t|t��r||S||Sr)Z
isinstanceZint)rZkeyrDrEr<r�	get_valuezFormatter.get_value�s(���c�3���	���9���#�;�rcs�dSr�)rrIrDrEr<rrHzFormatter.check_unused_argss���rcs"�t||��Sr)rF)r�valuerQ�   rrOzFormatter.format_fields���e�[�)�)�)rcs��|�|S|dkrt|��S|dkrt|��S|dkrt|��Std�|�����)NrZrZaz"Unknown conversion specifier {0!s})rZreprZasciir#rF)rrVrRrWrrNzFormatter.convert_fieldsw���	 ��L�
�3�
�	 ��u�:�:��
�3�
�	 ���;�;��
�3�
�	 ���<�<���=�D�D�Z�P�P�Q�Q�Qrcs*�tj|��Sr)�_stringZformatter_parser)rrCrrrLzFormatter.parses���'�
�6�6�6rcs��tj|��\}}|�|||��}|D] \}}|rt||��}�||}�!||fSr)rXZformatter_field_name_splitrTZgetattr)	rrPrDrEZfirstZrestrSZis_attrr%s	         rrMzFormatter.get_field(sl���8��D�D���t��n�n�U�D�&�1�1���	�	�J�G�Q��
��c�1�o�o����!�f����E�z�rN)r)r>r?r@rFrBrGrTrHrOrNrLrMrUrrr
r
�s�������9�9�9����!"�3/�3/�3/�3/�l���
�
�
�*�*�*�
R�
R�
R�(7�7�7�
�
�
�
�
rr
r)rAZ__all__rXr	rrrrrrrrrZrerZcollectionsrr4r3rrr
rUrr�<module>rYs6���� 2�2�2�������
�.��.���/�1�
�	���X���(�	��	�5���]�"�[�0�:�=�	�
@�@�@�@�����-�-�-�-�-�-���r�r�r�r�r�r�r�r�l	������y�y�y�y�y�y�y�y�y�yr