summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorFábio de Andrade Barboza <69045579+Barbozafab@users.noreply.github.com>2023-09-11 17:14:33 -0300
committerGitHub <noreply@github.com>2023-09-11 15:14:33 -0500
commite797a89fe118bac468a149789032835f6f9ea87b (patch)
tree735a10c5dd96f06e4f45e55604c369aa06206975 /var
parent254a2bc3eab5a23f917ae24301c5b0dc74ebf4f3 (diff)
downloadspack-e797a89fe118bac468a149789032835f6f9ea87b.tar.gz
spack-e797a89fe118bac468a149789032835f6f9ea87b.tar.bz2
spack-e797a89fe118bac468a149789032835f6f9ea87b.tar.xz
spack-e797a89fe118bac468a149789032835f6f9ea87b.zip
py-pipdeptree: add new package; py-hatchling: add 1.18.0 (#39697)
* py-hatchling: add 1.18.0 * py-pipdeptree: add new package * py-hatchling: add Python 3.8 dependency * Apply suggestion from code review Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Fábio de Andrade Barboza <f168817@dac.unicamp.br> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-hatchling/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pipdeptree/package.py20
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")