summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sobol-seq/package.py
blob: cf7a2c8c768d436e464057b7d71d45e041d0321c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PySobolSeq(PythonPackage):
    """Sobol sequence implementation in python"""

    homepage = "https://github.com/naught101/sobol_seq"
    pypi = "sobol_seq/sobol_seq-0.2.0.tar.gz"

    license("MIT")

    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"))