summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-tern/package.py
blob: f13592640d35a912d13709ae25475cdf45d6e85a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2023 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 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"

    license("BSD-2-Clause")

    version("main", branch="main")

    depends_on("py-setuptools", type="build")
    depends_on("py-wheel", type="build")
    depends_on("py-pip", type="build")