diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-hatchling/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pipdeptree/package.py | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hatchling/package.py b/var/spack/repos/builtin/packages/py-hatchling/package.py index 5ff8287412..29fcce5df9 100644 --- a/var/spack/repos/builtin/packages/py-hatchling/package.py +++ b/var/spack/repos/builtin/packages/py-hatchling/package.py @@ -13,6 +13,7 @@ class PyHatchling(PythonPackage): pypi = "hatchling/hatchling-1.4.1.tar.gz" git = "https://github.com/pypa/hatch" + version("1.18.0", sha256="50e99c3110ce0afc3f7bdbadff1c71c17758e476731c27607940cfa6686489ca") version("1.17.0", sha256="b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930") version("1.14.0", sha256="462ea91df03ff5d52813b5613fec1313a1a2059d2e37343e572b3f979867c5da") version("1.13.0", sha256="f8d275a2cc720735286b7c2e2bc35da05761e6d3695c2fa416550395f10c53c7") @@ -20,6 +21,7 @@ class PyHatchling(PythonPackage): version("1.8.1", sha256="448b04b23faed669b2b565b998ac955af4feea66c5deed3a1212ac9399d2e1cd") version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118") + depends_on("python@3.8:", when="@1.18:", type=("build", "run")) depends_on("py-editables@0.3:", type=("build", "run")) depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run")) depends_on("py-packaging@21.3:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-pipdeptree/package.py b/var/spack/repos/builtin/packages/py-pipdeptree/package.py new file mode 100644 index 0000000000..92600763ed --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pipdeptree/package.py @@ -0,0 +1,20 @@ +# 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" + + 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") |