19 lines
558 B
Python
19 lines
558 B
Python
# 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 import *
|
|
|
|
|
|
class ExternalBuildableWithVariant(Package):
|
|
homepage = "http://somewhere.com"
|
|
url = "http://somewhere.com/module-1.0.tar.gz"
|
|
|
|
version('1.0', '1234567890abcdef1234567890abcdef')
|
|
version('0.9', '1234567890abcdef1234567890abcdef')
|
|
|
|
variant('baz', default=False, description='nope')
|
|
|
|
depends_on('c@1.0', when='@0.9')
|