Package: Don't warn for missing source on bundle packages without code (#30913)

This commit is contained in:
Chuck Atkins
2022-06-06 17:33:03 -05:00
committed by GitHub
parent 932065beca
commit 9d7cc43673
4 changed files with 38 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
# 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 NosourceBundle(BundlePackage):
"""Simple bundle package with one dependency"""
homepage = "http://www.example.com"
version('1.0')
depends_on('dependency-install')

View File

@@ -7,8 +7,8 @@
from spack.package import *
class Nosource(BundlePackage):
"""Simple bundle package with one dependency"""
class Nosource(Package):
"""Simple package with no source and one dependency"""
homepage = "http://www.example.com"