diff options
author | Jen Herting <jen@herting.cc> | 2022-08-11 19:41:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 17:41:54 -0600 |
commit | a550b8ce30033ccdfe2a52983aab03c1d485a528 (patch) | |
tree | a6ba2972548da4c7761631bea1143555853c8a15 /var | |
parent | 8c23545a3abd7ea69d73d4a36397df07a44d1959 (diff) | |
download | spack-a550b8ce30033ccdfe2a52983aab03c1d485a528.tar.gz spack-a550b8ce30033ccdfe2a52983aab03c1d485a528.tar.bz2 spack-a550b8ce30033ccdfe2a52983aab03c1d485a528.tar.xz spack-a550b8ce30033ccdfe2a52983aab03c1d485a528.zip |
New package: py-pynndescent (#32076)
* [py-pynndescent] New package
* [py-pynndescent] Removed white space
* [py-pynndescent] fixed dependencies
* [py-pynndescent] flake8
* [py-pynndescent] Import update
Co-authored-by: James A Zilberman <jazrc@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pynndescent/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pynndescent/package.py b/var/spack/repos/builtin/packages/py-pynndescent/package.py new file mode 100644 index 0000000000..856e87c399 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pynndescent/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2022 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 PyPynndescent(PythonPackage): + """PyNNDescent is a Python nearest neighbor descent for + approximate nearest neighbors.""" + + homepage = "https://github.com/lmcinnes/pynndescent" + pypi = "pynndescent/pynndescent-0.5.7.tar.gz" + + version("0.5.7", sha256="ecb395255fa36a748b5870b4ba0300ea0f7da8b1964864b8edd62577a84dfd7d") + + depends_on("py-setuptools", type="build") + depends_on("py-scikit-learn@0.18:", type=("build", "run")) + depends_on("py-scipy@1.0:", type=("build", "run")) + depends_on("py-numba@0.51.2:", type=("build", "run")) + depends_on("py-llvmlite@0.30:", type=("build", "run")) + depends_on("py-joblib@0.11:", type=("build", "run")) |