summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-10-04 18:38:47 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-10-04 18:38:47 -0700
commit37e96ff6e14e419fbc31a43a1de966a7221e8ac1 (patch)
treed26ef5d4415ac75427d44e1a07a9c0d260597a59 /var
parent0fa1c5b0a54c2b64dfc431449b1ba4491b9981c0 (diff)
downloadspack-37e96ff6e14e419fbc31a43a1de966a7221e8ac1.tar.gz
spack-37e96ff6e14e419fbc31a43a1de966a7221e8ac1.tar.bz2
spack-37e96ff6e14e419fbc31a43a1de966a7221e8ac1.tar.xz
spack-37e96ff6e14e419fbc31a43a1de966a7221e8ac1.zip
Added test for Mercurial fetching.
Diffstat (limited to 'var')
-rw-r--r--var/spack/mock_packages/hg-test/package.py10
-rw-r--r--var/spack/packages/lwm2/package.py2
2 files changed, 11 insertions, 1 deletions
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")