summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-soyclustering/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-soyclustering/package.py b/var/spack/repos/builtin/packages/py-soyclustering/package.py
new file mode 100644
index 0000000000..f7b48d3e46
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-soyclustering/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 PySoyclustering(PythonPackage):
+ """This package is implementation of Improving spherical k-means for document
+ clustering. Fast initialization, sparse centroid projection, and efficient
+ cluster labeling (Kim et al., 2020)."""
+
+ homepage = "https://github.com/lovit/clustering4docs"
+ pypi = "soyclustering/soyclustering-0.2.0.tar.gz"
+
+ maintainers("meyersbs")
+
+ version("0.2.0", sha256="fce7ed92671b26846114bfd893107d8fdbc8297bd035a5b8ad2999d066f1fb43")
+
+ # From setup.py:
+ depends_on("py-setuptools", type="build")
+ depends_on("py-numpy@1.1:", type=("build", "run"))
+ # From build errors:
+ depends_on("py-scipy", type=("build", "run"))
+ depends_on("py-scikit-learn", type=("build", "run"))
+ depends_on("py-matplotlib", type=("build", "run"))