diff options
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/git-test-commit')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/git-test-commit/package.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/var/spack/repos/builtin.mock/packages/git-test-commit/package.py b/var/spack/repos/builtin.mock/packages/git-test-commit/package.py index 8a5c1e7eb7..1f49a08aaa 100644 --- a/var/spack/repos/builtin.mock/packages/git-test-commit/package.py +++ b/var/spack/repos/builtin.mock/packages/git-test-commit/package.py @@ -8,19 +8,20 @@ from spack.package import * class GitTestCommit(Package): """Mock package that tests installing specific commit""" + homepage = "http://www.git-fetch-example.com" # git='to-be-filled-in-by-test' - version('1.0', tag='v1.0') - version('1.1', tag='v1.1') - version('1.2', tag='1.2') # not a typo - version('2.0', tag='v2.0') + version("1.0", tag="v1.0") + version("1.1", tag="v1.1") + version("1.2", tag="1.2") # not a typo + version("2.0", tag="v2.0") def install(self, spec, prefix): # It is assumed for the test which installs this package, that it will # be using the earliest commit, which is contained in the range @:0 - assert spec.satisfies('@:0') + assert spec.satisfies("@:0") mkdir(prefix.bin) # This will only exist for some second commit - install('file.txt', prefix.bin) + install("file.txt", prefix.bin) |