py-sobol-seq: new package (#26234)

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-09-25 08:39:36 -04:00 committed by GitHub
parent 3f7d6763e0
commit 348cebfb8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))