py-pycm: new package (#43251)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com> Signed-off-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
parent
9802649716
commit
65fa71c1b4
@ -16,4 +16,5 @@ class PyArt(PythonPackage):
|
||||
|
||||
version("6.1", sha256="6ab3031e3b7710039e73497b0e750cadfe04d4c1279ce3a123500dbafb9e1b64")
|
||||
|
||||
depends_on("python@3.5:")
|
||||
depends_on("python@3.5:", type=("build", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
||||
|
21
var/spack/repos/builtin/packages/py-pycm/package.py
Normal file
21
var/spack/repos/builtin/packages/py-pycm/package.py
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright 2013-2024 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 PyPycm(PythonPackage):
|
||||
"""Multi-class confusion matrix library in Python."""
|
||||
|
||||
homepage = "https://www.pycm.io"
|
||||
pypi = "pycm/pycm-4.0.tar.gz"
|
||||
|
||||
license("MIT")
|
||||
|
||||
version("4.0", sha256="839e217eeb9a093be633ea746c5ca8b7ab6591d978762face892473c9f28959d")
|
||||
|
||||
depends_on("py-art@1.8:", type=("build", "run"))
|
||||
depends_on("py-numpy@1.9.0:", type=("build", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
Loading…
Reference in New Issue
Block a user