summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/cmake-conditional-variants-test/package.py
blob: 54cd8bc5322360f71eb099297832e9f39f6d0ce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 CmakeConditionalVariantsTest(CMakePackage):
    homepage = "https://dev.null"
    version("1.0")
    variant("example", default=True, description="nope", when="@2.0:")