Your IP : 18.218.94.236


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

�
��Rec@`sYddlmZmZmZddlZddlZddlmZmZm	Z	m
Z
ddlmZmZm
Z
mZmZddlmZddlmZddlmZmZdd	lmZmZmZd
efd��YZeejej�Z ed�j!�Z"ed
�j!�Z#ed�j!�Z$ed�j!�Z%ed�j!�Z&ed�j!�Z'ed�j!�Z(ed�Z)e ee)�e BZ*ee ee*��Z+e+d�Z,e+Z-ed�d�Z.e(e.Z/e-ee&e-�Z0e"e
e0�e#d�Z1eej2ej3ej4B�Z5eej2ej3ej4B�Z6e5e6AZ7ee7ee&e7�ddde8�d�Z9e
e$e9e%e9B�Z:e:j;d��e	e:�d�Z<e<j;d��e	e��d�Zej;d��e'Z=e=eZ>e<e
e>�Z?e/e
e>�Z@e,e
e1�e@e?BZAeeAeZBd eCfd!��YZDdS("i(tabsolute_importtdivisiontprint_functionN(tstringStartt	stringEndtoriginalTextFortParseException(t
ZeroOrMoretWordtOptionaltRegextCombine(tLiteral(tparsei(tMARKER_EXPRtMarker(tLegacySpecifiert	SpecifiertSpecifierSettInvalidRequirementcB`seZdZRS(sJ
    An invalid requirement was found, users should refer to PEP 508.
    (t__name__t
__module__t__doc__(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyRst[t]t(t)t,t;t@s-_.tnames[^ ]+turltextrast
joinStringtadjacentt	_raw_speccC`s
|jpdS(Nt(R#(tstltt((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyt<lambda>6R$t	specifiercC`s|dS(Ni((R%R&R'((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyR(9R$tmarkercC`st||j|j!�S(N(Rt_original_startt
_original_end(R%R&R'((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyR(=R$tRequirementcB`s)eZdZd�Zd�Zd�ZRS(s�Parse a requirement.

    Parse a given requirement string into its parts, such as name, specifier,
    URL, and extras. Raises InvalidRequirement on a badly-formed requirement
    string.
    cC`sytj|�}Wn9tk
rN}tdj||j|jd!���nX|j|_|jr�tj|j�}|j	o�|j
s�|j	r�|j
r�td��n|j|_n	d|_t|j
r�|j
j�ng�|_
t|j�|_|jr|jnd|_dS(Ns+Invalid requirement, parse error at "{0!r}"isInvalid URL given(tREQUIREMENTtparseStringRRtformattlocRRturlparsetschemetnetloctNonetsetR tasListRR)R*(tselftrequirement_stringtreqtet
parsed_url((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyt__init__Xs"!		'cC`s�|jg}|jr@|jdjdjt|j����n|jrb|jt|j��n|jr�|jdj|j��n|j	r�|jdj|j	��ndj|�S(Ns[{0}]Rs@ {0}s; {0}R$(
RR tappendR0tjointsortedR)tstrRR*(R8tparts((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyt__str__ms	+			cC`sdjt|��S(Ns<Requirement({0!r})>(R0RA(R8((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyt__repr__~s(RRRR=RCRD(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyR-Ks		(Et
__future__RRRtstringtretpkg_resources.extern.pyparsingRRRRRRR	R
RRtLt%pkg_resources.extern.six.moves.urllibR
R2tmarkersRRt
specifiersRRRt
ValueErrorRt
ascii_letterstdigitstALPHANUMtsuppresstLBRACKETtRBRACKETtLPARENtRPARENtCOMMAt	SEMICOLONtATtPUNCTUATIONtIDENTIFIER_ENDt
IDENTIFIERtNAMEtEXTRAtURItURLtEXTRAS_LISTtEXTRASt
_regex_strtVERBOSEt
IGNORECASEtVERSION_PEP440tVERSION_LEGACYtVERSION_ONEtFalsetVERSION_MANYt
_VERSION_SPECtsetParseActiontVERSION_SPECtMARKER_SEPERATORtMARKERtVERSION_AND_MARKERtURL_AND_MARKERtNAMED_REQUIREMENTR.tobjectR-(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.pyt<module>sZ"(





?>