From 10d36ee34339cfc3130b0959d81eb0675ecbc820 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Fri, 3 Feb 2017 14:21:14 -0800 Subject: Fetch tarballs from ant archive dir. (#2997) There was a new release of Ant (1.9.8) which led to the v1.9.7 tarball disappearing. This changes the URL to Ant's archive dir, which seems to contain *everything* including the two current releases (1.9.8 and 1.10.0) It adds a digest for 1.9.8. It adds and comments out a digest for 1.10.0 (which requires Java 8), as I have not tested it. --- var/spack/repos/builtin/packages/ant/package.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/ant/package.py b/var/spack/repos/builtin/packages/ant/package.py index 81a0e089e5..19f03e1e53 100644 --- a/var/spack/repos/builtin/packages/ant/package.py +++ b/var/spack/repos/builtin/packages/ant/package.py @@ -32,9 +32,12 @@ class Ant(Package): """ homepage = "http://ant.apache.org/" - url = "http://apache.claz.org/ant/source/apache-ant-1.9.7-src.tar.gz" + url = "https://archive.apache.org/dist/ant/source/apache-ant-1.9.7-src.tar.gz" - version('1.9.7', 'a2fd9458c76700b7be51ef12f07d4bb1') + # 1.10.0 requires newer Java, not yet tested.... + # version('1.10.0', '2260301bb7734e34d8b96f1a5fd7979c') + version('1.9.8', '16253d516d5c33c4af9ef8fafcf1004b') + version('1.9.7', 'a2fd9458c76700b7be51ef12f07d4bb1') depends_on('jdk') -- cgit v1.2.3-60-g2f50