summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-spectral/package.py22
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'))