parent
343f3b2fde
commit
0d421137f4
@ -370,6 +370,7 @@ def parse_name_offset(path, v=None):
|
|||||||
(r'/([^/]+)/(tarball|zipball)/', path),
|
(r'/([^/]+)/(tarball|zipball)/', path),
|
||||||
(r'/([^/]+)[_.-](bin|dist|stable|src|sources)[_.-]%s' % v, path),
|
(r'/([^/]+)[_.-](bin|dist|stable|src|sources)[_.-]%s' % v, path),
|
||||||
(r'github.com/[^/]+/([^/]+)/archive', path),
|
(r'github.com/[^/]+/([^/]+)/archive', path),
|
||||||
|
(r'github.com/[^/]+/([^/]+)/releases', path),
|
||||||
(r'[^/]+/([^/]+)/repository/archive', path), # gitlab
|
(r'[^/]+/([^/]+)/repository/archive', path), # gitlab
|
||||||
(r'([^/]+)/download.php', path),
|
(r'([^/]+)/download.php', path),
|
||||||
|
|
||||||
|
@ -31,8 +31,8 @@ class Mxml(AutotoolsPackage):
|
|||||||
non-standard libraries.
|
non-standard libraries.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "http://www.msweet.org"
|
homepage = "http://michaelrsweet.github.io/mxml/"
|
||||||
url = "http://www.msweet.org/files/project3/mxml-2.9.tar.gz"
|
url = "https://github.com/michaelrsweet/mxml/releases/download/release-2.10/mxml-2.10.tar.gz"
|
||||||
|
|
||||||
version('2.10', '8804c961a24500a95690ef287d150abe')
|
version('2.10', '8804c961a24500a95690ef287d150abe')
|
||||||
version('2.9', 'e21cad0f7aacd18f942aa0568a8dee19')
|
version('2.9', 'e21cad0f7aacd18f942aa0568a8dee19')
|
||||||
@ -41,6 +41,9 @@ class Mxml(AutotoolsPackage):
|
|||||||
version('2.6', '68977789ae64985dddbd1a1a1652642e')
|
version('2.6', '68977789ae64985dddbd1a1a1652642e')
|
||||||
version('2.5', 'f706377fba630b39fa02fd63642b17e5')
|
version('2.5', 'f706377fba630b39fa02fd63642b17e5')
|
||||||
|
|
||||||
|
def url_for_version(self, version):
|
||||||
|
return "https://github.com/michaelrsweet/mxml/releases/download/release-{0}/mxml-{0}.tar.gz".format(version)
|
||||||
|
|
||||||
# module swap PrgEnv-intel PrgEnv-$COMP
|
# module swap PrgEnv-intel PrgEnv-$COMP
|
||||||
# (Can use whatever compiler you want to use)
|
# (Can use whatever compiler you want to use)
|
||||||
# Case statement to change CC and CXX flags
|
# Case statement to change CC and CXX flags
|
||||||
|
Loading…
Reference in New Issue
Block a user