From 9ab93024090ae1d5da631490dfeae168ef3a3880 Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Thu, 18 May 2023 16:28:59 -0500 Subject: py-jarvis-util: add a new package (#37729) * py-jarvis-util: add a new package * Apply suggestions from code review Co-authored-by: Adam J. Stewart --------- Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-jarvis-util/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-jarvis-util/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-jarvis-util/package.py b/var/spack/repos/builtin/packages/py-jarvis-util/package.py new file mode 100644 index 0000000000..109210802d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jarvis-util/package.py @@ -0,0 +1,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 PyJarvisUtil(PythonPackage): + """Jarvis-util is a library which contains various utilities to aid with + creating shell scripts within Python. This library contains wrappers + for executing shell commands locally, SSH, SCP, MPI, argument parsing, + and various other random utilities.""" + + homepage = "https://github.com/scs-lab/jarvis-util" + git = "https://github.com/scs-lab/jarvis-util.git" + url = "https://github.com/scs-lab/jarvis-util/archive/refs/tags/v0.0.1.tar.gz" + maintainers("lukemartinlogan", "hyoklee") + + version("0.0.1", sha256="1c5fbbfec410f1df8dc28edc87dd4421c3708f5bd22bf7ef010138d5c4a1ff8f") + + depends_on("py-setuptools", type="build") + depends_on("py-psutil", type=("build", "run")) + depends_on("py-pyaml", type=("build", "run")) -- cgit v1.2.3-70-g09d2