add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
3

�
�^�c@s�ddlZddlTee�Zdd�ZGdd�dee��Zejdkr\dZ	eZ
Gd	d
�d
eed�Zn0ejdkr�d
Z	eZGdd�deed�Z
ned��dS)�N)Z*cCsLt|t�rt|t�St|t�r.t|j�|jSt|t	�r<|St
d|��dS)Nz+This type does not support other endian: %s)Zhasattr�
_OTHER_ENDIANZgetattrZ
isinstance�_array_type�
_other_endianZ_type_Z_length_Z
issubclass�	StructureZ	TypeError)�typ�r�&/usr/lib64/python3.6/ctypes/_endian.pyrs



rcseZdZ�fdd�Z�ZS)�
_swapped_metacsb|dkrPg}x>|D]6}|d}|d}|dd�}|j|t|�f|�qW|}t�j||�dS)NZ_fields_rii)ZappendrZsuper�__setattr__)ZselfZattrnameZvalueZfieldsZdescZnamerZrest�Z	__class__rrr	s
z_swapped_meta.__setattr__)�__name__�
__module__�__qualname__r	Z
__classcell__rrr
rrsrZlittleZ__ctype_be__c@�eZdZfZdZdS)�BigEndianStructureN�rrr
Z	__slots__Z_swappedbytes_rrrrr.�r)Z	metaclassZbigZ__ctype_le__c@r)�LittleEndianStructureNrrrrrr7rrzInvalid byteorder)
ZsysZctypesZtypeZArrayrrrrZ	byteorderrrrZRuntimeErrorrrrrZ<module>s