summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-deepsig/package.py
blob: 65b2cffb0efad3790523faa1c82f8b4b158e48fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 PyDeepsig(PythonPackage):
    """deep-significance: Easy and Better Significance Testing for Deep Neural
    Networks"""

    homepage = "https://github.com/Kaleidophon/deep-significance"
    pypi = "deepsig/deepsig-1.2.1.tar.gz"

    version("1.2.1", sha256="8543630c00264898116a065f6461c131d026ef75d8703bc631a4fd2bafb31f89")

    depends_on("python@3.5.3:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-numpy@1.19.5", type=("build", "run"))
    depends_on("py-scipy@1.6.0", type=("build", "run"))
    depends_on("py-tqdm@4.59.0", type=("build", "run"))
    depends_on("py-joblib@1.0.1", type=("build", "run"))
    depends_on("py-pandas@1.3.3", type=("build", "run"))
    depends_on("py-dill@0.3.4", type=("build", "run"))

    def patch(self):
        filter_file("README_RAW.md", "README.md", "setup.py", string=True)