summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/git-test/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/git-test/package.py')
-rw-r--r--var/spack/repos/builtin.mock/packages/git-test/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/git-test/package.py b/var/spack/repos/builtin.mock/packages/git-test/package.py
new file mode 100644
index 0000000000..689185463c
--- /dev/null
+++ b/var/spack/repos/builtin.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