summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/external-non-default-variant/package.py
blob: 4bc6c7b2e44cae8d4807ba52978d31dcaf2edd75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)
class ExternalNonDefaultVariant(Package):
    """An external that is registered with a non-default value"""
    homepage = "http://www.python.org"
    url = "http://www.python.org/ftp/python/3.8.7/Python-3.8.7.tgz"

    version('3.8.7', 'be78e48cdfc1a7ad90efff146dce6cfe')

    variant('foo', default=True, description='just a variant')
    variant('bar', default=True, description='just a variant')