summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sobol-seq/package.py
blob: e12644d4a0047762aab3df9ec2f90c58115af4bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'))