summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-arviz/package.py
blob: d76215e1abc40c1c6e308956bbcb6111eefb936c (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
26
# Copyright 2013-2020 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 PyArviz(PythonPackage):
    """ArviZ (pronounced "AR-vees") is a Python package for exploratory
    analysis of Bayesian models. Includes functions for posterior analysis,
    model checking, comparison and diagnostics."""

    homepage = "http://github.com/arviz-devs/arviz"
    pypi = "arviz/arviz-0.6.1.tar.gz"

    version('0.6.1', sha256='435edf8db49c41a8fa198f959e7581063006c49a4efdef4755bb778db6fd4f72')

    depends_on('py-setuptools', type='build')
    depends_on('py-matplotlib@3.0:', type=('build', 'run'))
    depends_on('py-numpy@1.12:', type=('build', 'run'))
    depends_on('py-scipy@0.19:', type=('build', 'run'))
    depends_on('py-packaging', type=('build', 'run'))
    depends_on('py-pandas@0.23:', type=('build', 'run'))
    depends_on('py-xarray@0.11:', type=('build', 'run'))
    depends_on('py-netcdf4', type=('build', 'run'))