summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/mock_packages/git-test/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/mock_packages/git-test/package.py b/var/spack/mock_packages/git-test/package.py
new file mode 100644
index 0000000000..689185463c
--- /dev/null
+++ b/var/spack/mock_packages/git-test/package.py
@@ -0,0 +1,10 @@
+from spack import *
+
+class GitTest(Package):
+ """Mock package that uses git for fetching."""
+ homepage = "http://www.git-fetch-example.com"
+
+ version('git', git='to-be-filled-in-by-test')
+
+ def install(self, spec, prefix):
+ pass