Skip to content

Commit 65fa71c

Browse files
py-pycm: new package (spack#43251)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com> Signed-off-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
1 parent 9802649 commit 65fa71c

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

var/spack/repos/builtin/packages/py-art/package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ class PyArt(PythonPackage):
1616

1717
version("6.1", sha256="6ab3031e3b7710039e73497b0e750cadfe04d4c1279ce3a123500dbafb9e1b64")
1818

19-
depends_on("python@3.5:")
19+
depends_on("python@3.5:", type=("build", "run"))
20+
depends_on("py-setuptools", type="build")
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
3+
#
4+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
5+
6+
from spack.package import *
7+
8+
9+
class PyPycm(PythonPackage):
10+
"""Multi-class confusion matrix library in Python."""
11+
12+
homepage = "https://www.pycm.io"
13+
pypi = "pycm/pycm-4.0.tar.gz"
14+
15+
license("MIT")
16+
17+
version("4.0", sha256="839e217eeb9a093be633ea746c5ca8b7ab6591d978762face892473c9f28959d")
18+
19+
depends_on("py-art@1.8:", type=("build", "run"))
20+
depends_on("py-numpy@1.9.0:", type=("build", "run"))
21+
depends_on("py-setuptools", type="build")

0 commit comments

Comments
 (0)