summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/git-test/package.py
blob: 544168d53ba17b25aba58399f85fceb987468ae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 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