diff options
author | Loïc Pottier <48072795+lpottier@users.noreply.github.com> | 2022-12-22 07:55:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 09:55:18 -0600 |
commit | 371268a9aae0bc5cc3c055088130baf5d2cef340 (patch) | |
tree | c247070ef8eeae3ff78571f2a41b25b97e48f784 | |
parent | 344e8d142a57d80312cdaffa9893a0b47e1b990e (diff) | |
download | spack-371268a9aae0bc5cc3c055088130baf5d2cef340.tar.gz spack-371268a9aae0bc5cc3c055088130baf5d2cef340.tar.bz2 spack-371268a9aae0bc5cc3c055088130baf5d2cef340.tar.xz spack-371268a9aae0bc5cc3c055088130baf5d2cef340.zip |
added py-dynim package (#34651)
Signed-off-by: Loïc Pottier <48072795+lpottier@users.noreply.github.com>
Signed-off-by: Loïc Pottier <48072795+lpottier@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-dynim/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dynim/package.py b/var/spack/repos/builtin/packages/py-dynim/package.py new file mode 100644 index 0000000000..8a25b686d8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-dynim/package.py @@ -0,0 +1,26 @@ +# 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 PyDynim(PythonPackage): + """dynim is a pure-python package to perform dynamic-importance + (DynIm) sampling on a high-dimensional data set.""" + + homepage = "https://github.com/LLNL/dynim" + url = "https://github.com/LLNL/dynim" + git = "https://github.com/LLNL/dynim.git" + + maintainers = ["lpottier"] + + version("main", branch="main", submodules=True) + version("0.1", commit="aebd780376e7998f7f8b92ba5fdd320bdba7b0d3") + + depends_on("python@3.6:", type=("build", "run")) + depends_on("py-pyyaml", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) + depends_on("faiss@1.6.3: +python", type=("build", "run")) |