summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-spectral/package.py
blob: 9383a90b459f9e4dd76c5d9921c5909ac8ac56f4 (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
# 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 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"

    license("MIT")

    version("0.22.4", sha256="b208ffd1042e32fd2276a35e098e3df26a5f6ff1310b829e97d222c66645a9af")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))