New package py-custodian (#35938)

* New package py-custodian

* [@spackbot] updating style on behalf of meyersbs
This commit is contained in:
Benjamin Meyers 2023-03-09 04:50:31 -05:00 committed by GitHub
parent 99aa0ef0cd
commit 15433cfaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))