summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py
blob: d5673ad4783237837c2b5f9daa8a56f006e4b312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2013-2022 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")