§ !A?h= ã óh — d Z ddlZddlZ ddlZn# e$ r ddlZY nw xY wd„ Zd„ Zd„ Zd„ Z d„ Z d„ ZdS ) zShared AIX support functions.é Nc ó” — t j dk rdnd}|dk r|nd}d | d | d | d ||¦ « S ) Niÿÿÿé é@ r é' zaix-{:1x}{:1d}{:02d}-{:04d}-{}é é )ÚsysÚmaxsizeÚformat)ÚvrtlÚbdÚ_szÚ_bds ú9/opt/alt/python-internal/lib64/python3.11/_aix_support.pyÚ_aix_tagr sS € õ ” Ò(Ð(ˆ"ˆ"¨b€CØ�a’�ˆ"ˆ"˜T€Cà+×2Ò2°4¸´7¸DÀ¼GÀTÈ!ÄWÈcÐSVÑWÔWÐWó c ó¨ — | d¦ « d d… \ }}}t |d ¦ « t |¦ « t |¦ « gS )Nú.é éÿÿÿÿ)ÚsplitÚint)ÚvrmfÚvÚrÚtls r Ú _aix_vrtlr sC € à�zŠz˜#‰Œ˜r ˜rÔ"�H€A€qˆ"Ý��"”‰JŒJ�˜A™œ¥ B¡¤Ð(Ð(r c ó — t j g d¢¦ « } | d¦ « } | ¦ « d¦ « } | d dk rt | d ¦ « nd}t | d ¦ « |fS )a( Return a Tuple[str, int] e.g., ['7.1.4.34', 1806] The fileset bos.rte represents the current AIX run-time level. It's VRMF and builddate reflect the current ABI levels of the runtime environment. If no builddate is found give a value that will satisfy pep425 related queries )z/usr/bin/lslppz-Lqczbos.rtezutf-8ú:r Ú r r )Ú subprocessÚcheck_outputÚdecodeÚstripr r Ústr)Úoutr s r Ú_aix_bos_rter' s{ € õ Ô !Ð"GÐ"GÐ"GÑ HÔ H€CØ �*Š*�WÑ Ô €CØ �)Š)‰+Œ+× Ò ˜CÑ Ô €Cؘbœ' Rš-˜-�#ˆc�"Œg‰,Œ,ˆ,¨T€CÝ��A”‰KŒK˜ÐÐr c ó^ — t ¦ « \ } }t t | ¦ « |¦ « S )a¨ AIX filesets are identified by four decimal values: V.R.M.F. V (version) and R (release) can be retrieved using ``uname`` Since 2007, starting with AIX 5.3 TL7, the M value has been included with the fileset bos.rte and represents the Technology Level (TL) of AIX. The F (Fix) value also increases, but is not relevant for comparing releases and binary compatibility. For binary compatibility the so-called builddate is needed. Again, the builddate of an AIX release is associated with bos.rte. AIX ABI compatibility is described as guaranteed at: https://www.ibm.com/ support/knowledgecenter/en/ssw_aix_72/install/binary_compatability.html For pep425 purposes the AIX platform tag becomes: "aix-{:1x}{:1d}{:02d}-{:04d}-{}".format(v, r, tl, builddate, bitsize) e.g., "aix-6107-1415-32" for AIX 6.1 TL7 bd 1415, 32-bit and, "aix-6107-1415-64" for AIX 6.1 TL7 bd 1415, 64-bit )r' r r )r r s r Úaix_platformr) . s' € õ&