Skip to content
Snippets Groups Projects
Commit c89de04f authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

Support Yorick versions (#2640)

parent d306893d
Branches
No related tags found
No related merge requests found
......@@ -340,3 +340,8 @@ def test_nco_version(self):
self.check(
'nco', '4.6.3-alpha04',
'https://github.com/nco/nco/archive/4.6.3-alpha04.tar.gz')
def test_yorick_version(self):
self.check(
'yorick', '2_2_04',
'https://github.com/dhmunro/yorick/archive/y_2_2_04.tar.gz')
......@@ -188,6 +188,10 @@ def parse_version_offset(path, debug=False):
# e.g. https://github.com/petdance/ack/tarball/1.93_02
(r'github.com/.+/(?:zip|tar)ball/v?((\d+\.)+\d+_(\d+))$', path),
# Yorick is very special.
# e.g. https://github.com/dhmunro/yorick/archive/y_2_2_04.tar.gz
(r'github.com/[^/]+/yorick/archive/y_(\d+(?:_\d+)*)$', path),
# e.g. https://github.com/hpc/lwgrp/archive/v1.0.1.tar.gz
(r'github.com/[^/]+/[^/]+/archive/v?(\w+(?:[.-]\w+)*)$', path),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment