Modify github archive regex to support luaposix (#2677)
This commit is contained in:
		 Adam J. Stewart
					Adam J. Stewart
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							e340f275b8
						
					
				
				
					commit
					c3cd948537
				
			| @@ -345,3 +345,8 @@ def test_yorick_version(self): | ||||
|         self.check( | ||||
|             'yorick', '2_2_04', | ||||
|             'https://github.com/dhmunro/yorick/archive/y_2_2_04.tar.gz') | ||||
|  | ||||
|     def test_luaposix_version(self): | ||||
|         self.check( | ||||
|             'luaposix', '33.4.0', | ||||
|             'https://github.com/luaposix/luaposix/archive/release-v33.4.0.tar.gz') | ||||
|   | ||||
| @@ -193,7 +193,7 @@ def parse_version_offset(path, debug=False): | ||||
|         (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), | ||||
|         (r'github.com/[^/]+/[^/]+/archive/(?:release-)?v?(\w+(?:[.-]\w+)*)$', path),  # noqa | ||||
|  | ||||
|         # e.g. https://github.com/erlang/otp/tarball/OTP_R15B01 (erlang style) | ||||
|         (r'[-_](R\d+[AB]\d*(-\d+)?)', path), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user