summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-coclust/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coclust/package.py b/var/spack/repos/builtin/packages/py-coclust/package.py
new file mode 100644
index 0000000000..db5ae24c97
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-coclust/package.py
@@ -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 PyCoclust(PythonPackage):
+ """Coclust provides both a Python package which implements several diagonal and
+ non-diagonal co-clustering algorithms, and a ready to use script to perform co-
+ clustering"""
+
+ homepage = "https://github.com/franrole/cclust_package"
+ pypi = "coclust/coclust-0.2.1.tar.gz"
+
+ maintainers("meyersbs")
+
+ version("0.2.1", sha256="47800cc71b91fcf5551252dca865ac2d917891afc458972c3a0bca0de4643cfb")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-scipy", type=("build", "run"))
+ depends_on("py-scikit-learn", type=("build", "run"))
+
+ variant("alldeps", default=False, description="matplotlib support")
+ depends_on("py-matplotlib@1.5:", when="+alldeps", type=("build", "run"))