
fixes #26718 A virtual package may or may not have a version, but it never has more than one. Previously we were missing a rule for that.
14 lines
574 B
Python
14 lines
574 B
Python
# Copyright 2013-2021 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 Hpcviewer(AutotoolsPackage):
|
|
"""Uses version-test-pkg, as a build dependency"""
|
|
homepage = "http://www.spack.org"
|
|
url = "http://www.spack.org/downloads/aml-1.0.tar.gz"
|
|
|
|
version('2019.02', '0123456789abcdef0123456789abcdef')
|
|
|
|
depends_on('java@11:', type=('build', 'run'), when='@2021.0:')
|
|
depends_on('java@8', type=('build', 'run'), when='@:2020')
|