summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py
blob: 012deca6d2d5f720744eca351743f882da7edc16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2013-2023 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 DepWithVariantsIfDevelop(Package):
    """Package that adds a dependency with many variants only at @develop"""

    homepage = "https://dev.null"

    version("develop")
    version("1.0")

    depends_on("dep-with-variants", when="@develop")