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