Hacked By AnonymousFox

Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyc

�
�Rec	@`s�ddlmZmZmZddlZddlZddlZddlmZm	Z	ddl
mZer�ddlm
Z
mZmZmZmZmZmZddlmZmZeeefZeeeeeffZeeeefZeeeeeeeefeeeffdffZeeeedfeeeefZeeeedffZe
eeefeeefgefZnd	d
ddd
gZ ej!dddddddg�Z"d�Z#de$fd��YZ%de&fd��YZ'de'fd��YZ(ej)dej*�Z+idd6dd6dd6dd6d d6Z,d!�Z-d"�Z.d#Z/d
e'fd$��YZ0d%�Z1ej)d&�Z2d'�Z3d(�Z4dS()i(tabsolute_importtdivisiontprint_functionNi(tInfinitytNegativeInfinity(t
TYPE_CHECKING(tCallabletIteratortListtOptionaltSupportsInttTupletUnion(tInfinityTypetNegativeInfinityType.tparsetVersiont
LegacyVersiontInvalidVersiontVERSION_PATTERNt_VersiontepochtreleasetdevtpretposttlocalcC`s-yt|�SWntk
r(t|�SXdS(s�
    Parse the given version string and return either a :class:`Version` object
    or a :class:`LegacyVersion` object depending on if the given version is
    a valid PEP 440 version or a legacy version.
    N(RRR(tversion((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR0s
cB`seZdZRS(sF
    An invalid version was found, users should refer to PEP 440.
    (t__name__t
__module__t__doc__(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR=st_BaseVersioncB`sVeZdZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�ZRS(	cC`s
t|j�S(N(thasht_key(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__hash__FscC`s|j|d��S(NcS`s
||kS(N((tsto((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt<lambda>Lt(t_compare(R"tother((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__lt__JscC`s|j|d��S(NcS`s
||kS(N((R$R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&PR'(R((R"R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__le__NscC`s|j|d��S(NcS`s
||kS(N((R$R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&TR'(R((R"R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__eq__RscC`s|j|d��S(NcS`s
||kS(N((R$R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&XR'(R((R"R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__ge__VscC`s|j|d��S(NcS`s
||kS(N((R$R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&\R'(R((R"R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__gt__ZscC`s|j|d��S(NcS`s
||kS(N((R$R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&`R'(R((R"R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__ne__^scC`s&t|t�stS||j|j�S(N(t
isinstanceRtNotImplementedR!(R"R)tmethod((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR(bsN(RRtNoneR!R#R*R+R,R-R.R/R((((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRCs							cB`s�eZd�Zd�Zd�Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zed	��Zed
��Z
ed��Zed��Zed
��ZRS(cC`s%t|�|_t|j�|_dS(N(tstrt_versiont_legacy_cmpkeyR!(R"R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__init__kscC`s|jS(N(R5(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__str__pscC`sdjtt|���S(Ns<LegacyVersion({0})>(tformattreprR4(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt__repr__tscC`s|jS(N(R5(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytpublicxscC`s|jS(N(R5(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytbase_version}scC`sdS(Ni����((R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR�scC`stS(N(tFalse(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt
is_prerelease�scC`stS(N(R>(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytis_postrelease�scC`stS(N(R>(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt
is_devrelease�s(RRR7R8R;tpropertyR<R=RRRRRRR?R@RA(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRjs			s(\d+ | [a-z]+ | \.| -)tctpreviewsfinal-t-trct@cc`sxxltj|�D][}tj||�}|s|dkrAqn|d dkrb|jd�Vqd|VqWdVdS(Nt.it
0123456789it*s*final(t_legacy_version_component_retsplitt_legacy_version_replacement_maptgettzfill(R$tpart((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt_parse_version_parts�s
cC`s�d}g}x�t|j��D]�}|jd�r�|dkrjx'|rf|ddkrf|j�qCWnx'|r�|ddkr�|j�qmWn|j|�qW|t|�fS(Ni����RJs*finals*final-t00000000(RQtlowert
startswithtpoptappendttuple(RRtpartsRP((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR6�ss�
    v?
    (?:
        (?:(?P<epoch>[0-9]+)!)?                           # epoch
        (?P<release>[0-9]+(?:\.[0-9]+)*)                  # release segment
        (?P<pre>                                          # pre-release
            [-_\.]?
            (?P<pre_l>(a|b|c|rc|alpha|beta|pre|preview))
            [-_\.]?
            (?P<pre_n>[0-9]+)?
        )?
        (?P<post>                                         # post release
            (?:-(?P<post_n1>[0-9]+))
            |
            (?:
                [-_\.]?
                (?P<post_l>post|rev|r)
                [-_\.]?
                (?P<post_n2>[0-9]+)?
            )
        )?
        (?P<dev>                                          # dev release
            [-_\.]?
            (?P<dev_l>dev)
            [-_\.]?
            (?P<dev_n>[0-9]+)?
        )?
    )
    (?:\+(?P<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?       # local version
cB`seZejdedejejB�Zd�Zd�Z	d�Z
ed��Zed��Z
ed��Zed��Zed	��Zed
��Zed��Zed��Zed
��Zed��Zed��Zed��Zed��Zed��ZRS(s^\s*s\s*$cC`s[|jj|�}|s0tdj|���ntd|jd�rZt|jd��nddtd�|jd�jd�D��dt	|jd�|jd	��d
t	|jd�|jd�p�|jd
��dt	|jd�|jd��dt
|jd���|_t|jj
|jj|jj|jj|jj|jj�|_dS(NsInvalid version: '{0}'RiRcs`s|]}t|�VqdS(N(tint(t.0ti((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>sRHRtpre_ltpre_nRtpost_ltpost_n1tpost_n2Rtdev_ltdev_nR(t_regextsearchRR9RtgroupRYRWRLt_parse_letter_versiont_parse_local_versionR5t_cmpkeyRRRRRRR!(R"Rtmatch((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR7s$*(!-!					cC`sdjtt|���S(Ns<Version({0})>(R9R:R4(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR;-scC`sg}|jdkr1|jdj|j��n|jdjd�|jD���|jdk	r�|jdjd�|jD���n|jdk	r�|jdj|j��n|jdk	r�|jdj|j��n|j	dk	r
|jd	j|j	��ndj|�S(
Nis{0}!RHcs`s|]}t|�VqdS(N(R4(RZtx((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>:sR'cs`s|]}t|�VqdS(N(R4(RZRj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>>ss.post{0}s.dev{0}s+{0}(
RRVR9tjoinRRR3RRR(R"RX((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR81s#&cC`s|jj}|S(N(R5R(R"t_epoch((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRNscC`s|jj}|S(N(R5R(R"t_release((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRTscC`s|jj}|S(N(R5R(R"t_pre((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRZscC`s|jjr|jjdSdS(Ni(R5RR3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR`scC`s|jjr|jjdSdS(Ni(R5RR3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRescC`s1|jjr)djd�|jjD��SdSdS(NRHcs`s|]}t|�VqdS(N(R4(RZRj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>ns(R5RRkR3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRjscC`st|�jdd�dS(Nt+ii(R4RL(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR<rscC`sag}|jdkr1|jdj|j��n|jdjd�|jD���dj|�S(Nis{0}!RHcs`s|]}t|�VqdS(N(R4(RZRj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>�sR'(RRVR9RkR(R"RX((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR=ws
#cC`s|jdk	p|jdk	S(N(RR3R(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR?�scC`s
|jdk	S(N(RR3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR@�scC`s
|jdk	S(N(RR3(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRA�scC`s$t|j�dkr |jdSdS(Nii(tlenR(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytmajor�scC`s$t|j�dkr |jdSdS(Niii(RpR(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytminor�scC`s$t|j�dkr |jdSdS(Niii(RpR(R"((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pytmicro�s(RRtretcompileRtVERBOSEt
IGNORECASERcR7R;R8RBRRRRRRR<R=R?R@RARqRrRs(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRs$$			cC`s�|r�|dkrd}n|j�}|dkr<d}n?|dkrQd}n*|d
krfd	}n|dkr{d}n|t|�fS|r�|r�d}|t|�fSdS(NitalphatatbetatbRCRRDRFtrevtrR(RCRRD(R|R}(R3RSRY(tlettertnumber((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRf�s"					
s[\._-]cC`s-|dk	r)td�tj|�D��SdS(sR
    Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
    cs`s3|])}|j�s!|j�n	t|�VqdS(N(tisdigitRSRY(RZRP((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>�sN(R3RWt_local_version_separatorsRL(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRg�s
cC`s�ttttjd�t|�����}|dkrZ|dkrZ|dk	rZt}n|dkrot}n|}|dkr�t}n|}|dkr�t}	n|}	|dkr�t}
ntd�|D��}
|||||	|
fS(NcS`s
|dkS(Ni((Rj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyR&�R'cs`s6|],}t|t�r$|dfn	t|fVqdS(R'N(R0RYR(RZR[((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pys	<genexpr>s(RWtreversedtlistt	itertoolst	dropwhileR3RR(RRRRRRRmRnt_postt_devt_local((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyRh�s$*$						(5t
__future__RRRtcollectionsR�Rtt_structuresRRt_typingRttypingRRRR	R
RRR
Rt
InfiniteTypesR4RYtPrePostDevTypetSubLocalTypet	LocalTypetCmpKeytLegacyCmpKeytbooltVersionComparisonMethodt__all__t
namedtupleRRt
ValueErrorRtobjectRRRuRvRKRMRQR6RRRfR�RgRh(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/packaging/version.pyt<module>sZ4
#*	
'F
		;�	&	

Hacked By AnonymousFox1.0, Coded By AnonymousFox