diff options
author | Jen Herting <jen@herting.cc> | 2022-01-27 16:57:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 14:57:14 -0700 |
commit | a2170c9e043b03cc3ff3a6f1ba9a25e0fd756f8a (patch) | |
tree | 139200bb007d75373cfa2625995b9c228217b2ef /var | |
parent | bae2a2660e5c559f0e45eda97502bd2b1dcf3fae (diff) | |
download | spack-a2170c9e043b03cc3ff3a6f1ba9a25e0fd756f8a.tar.gz spack-a2170c9e043b03cc3ff3a6f1ba9a25e0fd756f8a.tar.bz2 spack-a2170c9e043b03cc3ff3a6f1ba9a25e0fd756f8a.tar.xz spack-a2170c9e043b03cc3ff3a6f1ba9a25e0fd756f8a.zip |
New package: py-spectral (#28481)
* simple build of spectral
* fixed trailing whitespace for style
* [py-spectral] updated copyright
* [py-spectral] runtime imports py-numpy
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-spectral/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-spectral/package.py b/var/spack/repos/builtin/packages/py-spectral/package.py new file mode 100644 index 0000000000..0722843b70 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-spectral/package.py @@ -0,0 +1,22 @@ +# 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 PySpectral(PythonPackage): + """Spectral Python (SPy) is a pure Python module for processing + hyperspectral image data (imaging spectroscopy data). It has functions for + reading, displaying, manipulating, and classifying hyperspectral imagery. + SPy is Free, Open Source Software (FOSS) distributed under the MIT + License.""" + + homepage = "http://www.spectralpython.net/" + pypi = "spectral/spectral-0.22.4.tar.gz" + + version('0.22.4', sha256='b208ffd1042e32fd2276a35e098e3df26a5f6ff1310b829e97d222c66645a9af') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) |