summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-03-01 15:21:04 -0500
committerGitHub <noreply@github.com>2022-03-01 13:21:04 -0700
commitd05560ee3287d1a93c2ecda44b1327670c7223b5 (patch)
tree97fdd621f2c46028265091132c012d25e8892a49 /var
parent71f081366bfa19b554c7e0b9ea8b80c9d3da47ed (diff)
downloadspack-d05560ee3287d1a93c2ecda44b1327670c7223b5.tar.gz
spack-d05560ee3287d1a93c2ecda44b1327670c7223b5.tar.bz2
spack-d05560ee3287d1a93c2ecda44b1327670c7223b5.tar.xz
spack-d05560ee3287d1a93c2ecda44b1327670c7223b5.zip
New package: py-deepsig (#28480)
* [py-deepsig] New package and several cherry picks * [py-deepsig] Cleanup of testing comments * finished package with git reference * fixed flake8 issue * [py-deepsig] fixed copyright * [py-deepsig] switched to version with functional requirements.txt. Ignoring missing README_RAW.md * [py-deepsig] updated version in pypi variable * [py-deepsig] simplifying missing readme workaround Co-authored-by: Doug Heckman <dahdco@rit.edu> Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-deepsig/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-deepsig/package.py b/var/spack/repos/builtin/packages/py-deepsig/package.py
new file mode 100644
index 0000000000..cbcbb6e53f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-deepsig/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2022 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 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)