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