From 6af8e19b2d96700ae9699f0e0568037f51b0d9e9 Mon Sep 17 00:00:00 2001 From: Stephanie Brink Date: Wed, 11 Mar 2020 17:23:32 -0700 Subject: add hatchet python package (#15428) --- .../repos/builtin/packages/py-hatchet/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-hatchet/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-hatchet/package.py b/var/spack/repos/builtin/packages/py-hatchet/package.py new file mode 100644 index 0000000000..91df70b61b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-hatchet/package.py @@ -0,0 +1,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')) -- cgit v1.2.3-70-g09d2