From 37e96ff6e14e419fbc31a43a1de966a7221e8ac1 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sat, 4 Oct 2014 18:38:47 -0700 Subject: Added test for Mercurial fetching. --- var/spack/mock_packages/hg-test/package.py | 10 ++++++++++ var/spack/packages/lwm2/package.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 var/spack/mock_packages/hg-test/package.py (limited to 'var') diff --git a/var/spack/mock_packages/hg-test/package.py b/var/spack/mock_packages/hg-test/package.py new file mode 100644 index 0000000000..462f1e4c3a --- /dev/null +++ b/var/spack/mock_packages/hg-test/package.py @@ -0,0 +1,10 @@ +from spack import * + +class HgTest(Package): + """Test package that does fetching with mercurial.""" + homepage = "http://www.hg-fetch-example.com" + + version('hg', hg='to-be-filled-in-by-test') + + def install(self, spec, prefix): + pass diff --git a/var/spack/packages/lwm2/package.py b/var/spack/packages/lwm2/package.py index bf95c3fe12..31afff8816 100644 --- a/var/spack/packages/lwm2/package.py +++ b/var/spack/packages/lwm2/package.py @@ -7,7 +7,7 @@ class Lwm2(Package): """ homepage = "https://jay.grs.rwth-aachen.de/redmine/projects/lwm2" - version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', branch='torus') + version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', revision='torus') depends_on("papi") depends_on("mpi") -- cgit v1.2.3-70-g09d2