diff options
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/git-top-level/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/git-top-level/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/git-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-top-level/package.py new file mode 100644 index 0000000000..36a2852f32 --- /dev/null +++ b/var/spack/repos/builtin.mock/packages/git-top-level/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class GitTopLevel(Package): + """Mock package that uses git for fetching.""" + homepage = "http://www.git-fetch-example.com" + + git = 'https://example.com/some/git/repo' + version('1.0') + + def install(self, spec, prefix): + pass |