summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/autotools-conditional-variants-test/package.py
blob: 736506bee791a3621fc825bfec53f5279a96a9c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 AutotoolsConditionalVariantsTest(AutotoolsPackage):
    homepage = "https://www.example.com"
    has_code = False
    version("1.0")
    variant("example", default=True, description="nope", when="@2.0:")