summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-09-25 08:39:36 -0400
committerGitHub <noreply@github.com>2021-09-25 14:39:36 +0200
commit348cebfb8f903bd65b873dafd1ea87bc6509627a (patch)
tree0b33abfa50e84c4722f1c2a6f87f067a59e6bc2b /var
parent3f7d6763e01cf20b6a8d80bd09a64ed9f495fe79 (diff)
downloadspack-348cebfb8f903bd65b873dafd1ea87bc6509627a.tar.gz
spack-348cebfb8f903bd65b873dafd1ea87bc6509627a.tar.bz2
spack-348cebfb8f903bd65b873dafd1ea87bc6509627a.tar.xz
spack-348cebfb8f903bd65b873dafd1ea87bc6509627a.zip
py-sobol-seq: new package (#26234)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sobol-seq/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sobol-seq/package.py b/var/spack/repos/builtin/packages/py-sobol-seq/package.py
new file mode 100644
index 0000000000..e12644d4a0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sobol-seq/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 PySobolSeq(PythonPackage):
+ """Sobol sequence implementation in python"""
+
+ homepage = "https://github.com/naught101/sobol_seq"
+ pypi = "sobol_seq/sobol_seq-0.2.0.tar.gz"
+
+ version('0.2.0', sha256='e16e701bd7b03ec6ce65b3a64c9205799f6a2d00c2054dd8c4ff4343f3981172')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))