diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-11 14:13:33 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-11 14:13:33 -0500 |
commit | 633e540a1718a5cc515725b13d3f1740bb950bb6 (patch) | |
tree | a5f429f2deb6ae86dd4db0e8eca40b62e31f1ac6 | |
parent | f147d645272bc96e57c707f39a80b64d1e637fb1 (diff) | |
download | spack-633e540a1718a5cc515725b13d3f1740bb950bb6.tar.gz spack-633e540a1718a5cc515725b13d3f1740bb950bb6.tar.bz2 spack-633e540a1718a5cc515725b13d3f1740bb950bb6.tar.xz spack-633e540a1718a5cc515725b13d3f1740bb950bb6.zip |
Use GitHub URL for ImageMagick
-rw-r--r-- | var/spack/repos/builtin/packages/ImageMagick/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ImageMagick/package.py b/var/spack/repos/builtin/packages/ImageMagick/package.py index 966e375d48..61d4cc0cb4 100644 --- a/var/spack/repos/builtin/packages/ImageMagick/package.py +++ b/var/spack/repos/builtin/packages/ImageMagick/package.py @@ -30,9 +30,10 @@ class Imagemagick(Package): or convert bitmap images.""" homepage = "http://www.imagemagick.org" - url = "http://www.imagemagick.org/download/ImageMagick-7.0.2-6.tar.gz" + url = "https://github.com/ImageMagick/ImageMagick/archive/7.0.2-7.tar.gz" - version('7.0.2-6', 'c29c98d2496fbc66adb05a28d8fad21a') + version('7.0.2-7', 'c59cdc8df50e481b2bd1afe09ac24c08') + version('7.0.2-6', 'aa5689129c39a5146a3212bf5f26d478') depends_on('jpeg') depends_on('libtool', type='build') @@ -42,6 +43,9 @@ class Imagemagick(Package): depends_on('libtiff') depends_on('ghostscript') + def url_for_version(self, version): + return "https://github.com/ImageMagick/ImageMagick/archive/{0}.tar.gz".format(version) + def install(self, spec, prefix): configure('--prefix={0}'.format(prefix)) |