new pkg: py-psmon (#37652)

This commit is contained in:
eugeneswalker 2023-05-13 13:16:44 -05:00 committed by GitHub
parent ca84c96478
commit e9bfe5cd35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,23 @@
# 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 PyPsmon(PythonPackage):
"""Monitors and limits process resource."""
homepage = "https://github.com/rkkautsar/psmon"
pypi = "psmon/psmon-1.1.1.tar.gz"
maintainers("valmar")
version("1.1.1", sha256="ecbd4e3a34b5f20ac5c62e4cd1e19f7384c6d72f2dd7d66c7b4bc36b529b8385")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-poetry@0.12:", type="build")
depends_on("py-psutil@5.5:6.0", type=("build", "run"))
depends_on("py-loguru@0.2.5:0.3.0", type=("build", "run"))