update xstatic metadata (incl. CDNs)

This commit is contained in:
Thomas Waldmann 2018-09-19 00:18:48 +02:00
parent 5832c27116
commit d72a5b5bdd
1 changed files with 13 additions and 1 deletions

View File

@ -11,7 +11,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
# please use a all-lowercase valid python
# package name
VERSION = '2.2.4' # version of the packaged files, please use the upstream
VERSION = '3.3.1' # version of the packaged files, please use the upstream
# version number
BUILD = '1' # our package build number, so we can release new builds
# with fixes for xstatic stuff.
@ -51,14 +51,26 @@ LOCATIONS = {
('jquery', 'http'): {
'jquery.js': 'http://code.jquery.com/jquery-%s.js' % VERSION,
'jquery.min.js': 'http://code.jquery.com/jquery-%s.min.js' % VERSION,
'jquery.slim.js': 'http://code.jquery.com/jquery-%s.slim.js' % VERSION,
'jquery.slim.min.js': 'http://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
},
('jquery', 'https'): {
'jquery.js': 'https://code.jquery.com/jquery-%s.js' % VERSION,
'jquery.min.js': 'https://code.jquery.com/jquery-%s.min.js' % VERSION,
'jquery.slim.js': 'https://code.jquery.com/jquery-%s.slim.js' % VERSION,
'jquery.slim.min.js': 'https://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
},
('microsoft', 'http'): {
'jquery.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
'jquery.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
'jquery.slim.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
'jquery.slim.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
},
('microsoft', 'https'): {
'jquery.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
'jquery.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
'jquery.slim.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
'jquery.slim.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
},
}