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>
This commit is contained in:
Jen Herting 2022-03-01 15:21:04 -05:00 committed by GitHub
parent 71f081366b
commit d05560ee32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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