summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-py6s/package.py
blob: c780284f623d9d18a9670cb58873fe944272093d (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
25
# Copyright 2013-2021 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 PyPy6s(PythonPackage):
    """
    A wrapper for the 6S Radiative Transfer Model to make it easy to run
    simulations with a variety of input parameters, and to produce outputs in
    an easily processable form.
    """

    homepage = "http://py6s.rtwilson.com/"
    pypi = "py6s/Py6S-1.8.0.tar.gz"

    version('1.8.0', sha256='256162d2f1f558e601d4f79022c037a0051838ba307b9f4d1f5fcf0b46a0c277')

    depends_on('python@3:', type=('build', 'run'), when='@1.8.0')
    depends_on('py-setuptools', type='build')
    depends_on('py-pysolar@0.6',    type=('build', 'run'))
    depends_on('py-matplotlib',     type=('build', 'run'))
    depends_on('py-scipy',          type=('build', 'run'))