summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessasaurus <814322+vsoch@users.noreply.github.com>2021-12-01 14:41:05 -0700
committerGitHub <noreply@github.com>2021-12-01 14:41:05 -0700
commit326acea29dbb077a31180c439db079bf5ea272ea (patch)
tree706527b6fcc3da78bc253200e53f3adc8f5c39e3
parent97126cac4bac79af0acbef134696307b0ce358d3 (diff)
downloadspack-326acea29dbb077a31180c439db079bf5ea272ea.tar.gz
spack-326acea29dbb077a31180c439db079bf5ea272ea.tar.bz2
spack-326acea29dbb077a31180c439db079bf5ea272ea.tar.xz
spack-326acea29dbb077a31180c439db079bf5ea272ea.zip
py-tern: new package (#27599)
Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/py-tern/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tern/package.py b/var/spack/repos/builtin/packages/py-tern/package.py
new file mode 100644
index 0000000000..68758667a0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-tern/package.py
@@ -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')