summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pipdeptree/package.py
blob: 4723e991fa7687b3b4b2819fad820e1a83380b55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyPipdeptree(PythonPackage):
    """Command line utility to show dependency tree of packages."""

    homepage = "https://github.com/tox-dev/pipdeptree"
    pypi = "pipdeptree/pipdeptree-2.13.0.tar.gz"

    license("MIT")

    version("2.13.0", sha256="ff71a48abd0b1ab810c23734b47de6ebd93270857d6665e21ed5ef6136fcba6e")

    depends_on("python@3.8:", type=("build", "run"))
    depends_on("py-hatch-vcs@0.3:", type="build")
    depends_on("py-hatchling@1.18:", type="build")