File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,21 @@ def set_meta(*args):
4545
4646### VERSION PARSING
4747
48- @semver .base .BaseSpec .register_syntax
49- class JuliaVersionSpec (semver .SimpleSpec ):
50- SYNTAX = 'julia'
51- class Parser (semver .SimpleSpec .Parser ):
52- PREFIX_ALIASES = {'=' : '==' , '' : '^' }
53- @classmethod
54- def parse (cls , expression ):
55- blocks = expression .split (',' )
56- clause = semver .base .Never ()
57- for block in blocks :
58- block = block .strip ()
59- if not cls .NAIVE_SPEC .match (block ):
60- raise ValueError ('Invalid simple block %r' % block )
61- clause |= cls .parse_block (block )
62- return clause
48+ # @semver.base.BaseSpec.register_syntax
49+ # class JuliaVersionSpec(semver.SimpleSpec):
50+ # SYNTAX = 'julia'
51+ # class Parser(semver.SimpleSpec.Parser):
52+ # PREFIX_ALIASES = {'=': '==', '': '^'}
53+ # @classmethod
54+ # def parse(cls, expression):
55+ # blocks = expression.split(',')
56+ # clause = semver.base.Never()
57+ # for block in blocks:
58+ # block = block.strip()
59+ # if not cls.NAIVE_SPEC.match(block):
60+ # raise ValueError('Invalid simple block %r' % block)
61+ # clause |= cls.parse_block(block)
62+ # return clause
6363
6464### RESOLVE
6565
You can’t perform that action at this time.
0 commit comments