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


class GitTest(Package):
    """Mock package that uses git for fetching."""

    homepage = "http://www.git-fetch-example.com"
    # To be set by test
    git = None

    submodules = True

    version("git", git="to-be-filled-in-by-test")