summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authora-saitoh-fj <63334055+a-saitoh-fj@users.noreply.github.com>2020-12-28 20:51:39 +0900
committerGitHub <noreply@github.com>2020-12-28 12:51:39 +0100
commitb6ed75f1b2a7b156137ba4c39f25c872b5541ccf (patch)
tree0742d4307886afed62f7c10c69c7ddf0dd5473e6 /var
parente4c41080b7e497be46f68bae723386dd53f040e2 (diff)
downloadspack-b6ed75f1b2a7b156137ba4c39f25c872b5541ccf.tar.gz
spack-b6ed75f1b2a7b156137ba4c39f25c872b5541ccf.tar.bz2
spack-b6ed75f1b2a7b156137ba4c39f25c872b5541ccf.tar.xz
spack-b6ed75f1b2a7b156137ba4c39f25c872b5541ccf.zip
py-sparse: new package at v0.11.2 (#20573)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sparse/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sparse/package.py b/var/spack/repos/builtin/packages/py-sparse/package.py
new file mode 100644
index 0000000000..d316736db4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sparse/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 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 import *
+
+
+class PySparse(PythonPackage):
+ """This library provides multi-dimensional sparse arrays."""
+
+ homepage = "https://sparse.pydata.org"
+ url = "https://github.com/pydata/sparse/archive/0.11.2.tar.gz"
+
+ version('0.11.2', sha256='365b6f038c4d331b3913e5fb00f5bc5dc5eadc49ef2feef332214f9bf33dbc82')
+
+ depends_on('python@3.6:3.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy@0.19:', type=('build', 'run'))
+ depends_on('py-numba@0.49:', type=('build', 'run'))