mxml is now hosted on GitHub.
This commit is contained in:
Michael Kuhn 2017-03-31 20:41:08 +02:00 committed by Adam J. Stewart
parent 343f3b2fde
commit 0d421137f4
2 changed files with 6 additions and 2 deletions

View File

@ -370,6 +370,7 @@ def parse_name_offset(path, v=None):
(r'/([^/]+)/(tarball|zipball)/', path),
(r'/([^/]+)[_.-](bin|dist|stable|src|sources)[_.-]%s' % v, path),
(r'github.com/[^/]+/([^/]+)/archive', path),
(r'github.com/[^/]+/([^/]+)/releases', path),
(r'[^/]+/([^/]+)/repository/archive', path), # gitlab
(r'([^/]+)/download.php', path),

View File

@ -31,8 +31,8 @@ class Mxml(AutotoolsPackage):
non-standard libraries.
"""
homepage = "http://www.msweet.org"
url = "http://www.msweet.org/files/project3/mxml-2.9.tar.gz"
homepage = "http://michaelrsweet.github.io/mxml/"
url = "https://github.com/michaelrsweet/mxml/releases/download/release-2.10/mxml-2.10.tar.gz"
version('2.10', '8804c961a24500a95690ef287d150abe')
version('2.9', 'e21cad0f7aacd18f942aa0568a8dee19')
@ -41,6 +41,9 @@ class Mxml(AutotoolsPackage):
version('2.6', '68977789ae64985dddbd1a1a1652642e')
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
# (Can use whatever compiler you want to use)
# Case statement to change CC and CXX flags