From 15433cfaf14a2625ca14e0e4db75a350096f1ac1 Mon Sep 17 00:00:00 2001 From: Benjamin Meyers Date: Thu, 9 Mar 2023 04:50:31 -0500 Subject: New package py-custodian (#35938) * New package py-custodian * [@spackbot] updating style on behalf of meyersbs --- .../repos/builtin/packages/py-custodian/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-custodian/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-custodian/package.py b/var/spack/repos/builtin/packages/py-custodian/package.py new file mode 100644 index 0000000000..5b6d6dd6c0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-custodian/package.py @@ -0,0 +1,27 @@ +# 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 PyCustodian(PythonPackage): + """Custodian is a simple, robust and flexible just-in-time (JIT) job management + framework written in Python. Using custodian, you can create wrappers that + perform error checking, job management and error recovery. It has a simple + plugin framework that allows you to develop specific job management workflows + for different applications.""" + + homepage = "https://github.com/materialsproject/custodian" + pypi = "custodian/custodian-2022.5.26.tar.gz" + + maintainers("meyersbs") + + version("2022.5.26", sha256="92bdafa578c75f976176492e7bf3eb83abde97f112725e2e421633fa8954c6ef") + + # From setup.py: + depends_on("py-setuptools", type="build") + depends_on("py-monty@2.0.6:", type=("build", "run")) + depends_on("py-ruamel-yaml@0.15.6:", type=("build", "run")) + depends_on("py-sentry-sdk@0.8.0:", type=("build", "run")) -- cgit v1.2.3-70-g09d2