diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2023-05-18 16:28:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 17:28:59 -0400 |
commit | 9ab93024090ae1d5da631490dfeae168ef3a3880 (patch) | |
tree | ec93bba2400edbe0c951e383128ca85902d7545a | |
parent | 0187376e5406b6b297ffa05175f486af1c90e054 (diff) | |
download | spack-9ab93024090ae1d5da631490dfeae168ef3a3880.tar.gz spack-9ab93024090ae1d5da631490dfeae168ef3a3880.tar.bz2 spack-9ab93024090ae1d5da631490dfeae168ef3a3880.tar.xz spack-9ab93024090ae1d5da631490dfeae168ef3a3880.zip |
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 <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-jarvis-util/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
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")) |