py-tern: new package (#27599)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Co-authored-by: vsoch <vsoch@users.noreply.github.com>
This commit is contained in:
Vanessasaurus 2021-12-01 14:41:05 -07:00 committed by GitHub
parent 97126cac4b
commit 326acea29d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
# 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)
from spack import *
class PyTern(PythonPackage):
"""
Tern is a software package inspection tool that can create a Software Bill
of Materials (SBoM) for containers.
"""
pypi = "tern/tern-2.8.0.tar.gz"
git = "https://github.com/tern-tools/tern.git"
version('main', branch='main')
depends_on('py-setuptools', type='build')
depends_on('py-wheel', type='build')
depends_on('py-pip', type='build')