Skip to content
Snippets Groups Projects
Commit 0d421137 authored by Michael Kuhn's avatar Michael Kuhn Committed by Adam J. Stewart
Browse files

Fix mxml (#3639)

mxml is now hosted on GitHub.
parent 343f3b2f
No related branches found
No related tags found
No related merge requests found
...@@ -370,6 +370,7 @@ def parse_name_offset(path, v=None): ...@@ -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): ...@@ -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): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment