From ae9a65ae56d83f80068ca58a77e28b520f407bd8 Mon Sep 17 00:00:00 2001 From: Benjamin Meyers Date: Thu, 30 Mar 2023 21:33:33 -0400 Subject: New package py-soyclustering (#36550) * New package py-soyclustering * [@spackbot] updating style on behalf of meyersbs --- .../builtin/packages/py-soyclustering/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-soyclustering/package.py (limited to 'var') 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")) -- cgit v1.2.3-60-g2f50