diff options
author | Christopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com> | 2024-03-20 18:02:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 19:02:36 +0100 |
commit | 65fa71c1b4fb2cacb0adbcbcb685728ae61f8da3 (patch) | |
tree | b46e6afc6a9eeaab5793fc53671598a7029ea3aa /var | |
parent | 9802649716b40e980cb97cbbd5ca1d8850d95b3f (diff) | |
download | spack-65fa71c1b4fb2cacb0adbcbcb685728ae61f8da3.tar.gz spack-65fa71c1b4fb2cacb0adbcbcb685728ae61f8da3.tar.bz2 spack-65fa71c1b4fb2cacb0adbcbcb685728ae61f8da3.tar.xz spack-65fa71c1b4fb2cacb0adbcbcb685728ae61f8da3.zip |
py-pycm: new package (#43251)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Signed-off-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-art/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pycm/package.py | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-art/package.py b/var/spack/repos/builtin/packages/py-art/package.py index f173355ffb..c5b6a48eeb 100644 --- a/var/spack/repos/builtin/packages/py-art/package.py +++ b/var/spack/repos/builtin/packages/py-art/package.py @@ -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") diff --git a/var/spack/repos/builtin/packages/py-pycm/package.py b/var/spack/repos/builtin/packages/py-pycm/package.py new file mode 100644 index 0000000000..657047c438 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pycm/package.py @@ -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") |