summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hatchet/package.py
blob: 91df70b61b3ccb39d8bbfba3a54e2b5314fe2389 (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
27
# 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 PyHatchet(PythonPackage):
    """Hatchet is an analysis tool for structured tree or graph performance data
    using an indexed Pandas dataframe."""

    homepage = "https://github.com/LLNL/hatchet"
    url      = "https://github.com/LLNL/hatchet/archive/v1.0.0.tar.gz"

    maintainers = ["slabasan", "bhatele", "tgamblin"]

    version('1.0.0', sha256='efd218bc9152abde0a8006489a2c432742f00283a114c1eeb6d25abc10f5862d')

    depends_on('python@2.7,3:', type=('build', 'run'))

    depends_on('py-setuptools', type='build')
    depends_on('py-matplotlib', type=('build', 'run'))
    depends_on('py-numpy',      type=('build', 'run'))
    depends_on('py-pandas',     type=('build', 'run'))
    depends_on('py-pydot',      type=('build', 'run'))
    depends_on('py-pyyaml',     type=('build', 'run'))