diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-20 16:17:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 16:17:22 -0600 |
commit | abf8e09fe5deef30af1970c9de0cd9abeccc5b29 (patch) | |
tree | 6581af32850281dcebf14d23b584822178d5d152 | |
parent | 73dbda8c5a56725805ec67d78931344b377603a7 (diff) | |
download | spack-abf8e09fe5deef30af1970c9de0cd9abeccc5b29.tar.gz spack-abf8e09fe5deef30af1970c9de0cd9abeccc5b29.tar.bz2 spack-abf8e09fe5deef30af1970c9de0cd9abeccc5b29.tar.xz spack-abf8e09fe5deef30af1970c9de0cd9abeccc5b29.zip |
Add py-pyinstrument package (#14241)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyinstrument/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyinstrument/package.py b/var/spack/repos/builtin/packages/py-pyinstrument/package.py new file mode 100644 index 0000000000..7b47ea391b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyinstrument/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2019 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 PyPyinstrument(PythonPackage): + """Call stack profiler for Python. Shows you why your code is slow!""" + + homepage = "https://github.com/joerick/pyinstrument" + url = "https://github.com/joerick/pyinstrument/archive/v3.1.0.tar.gz" + + version('3.1.0', sha256='02319607daf65110e246085f5e2ee111f565f213eed1991229f2d58e9a7657a5') + + depends_on('py-setuptools', type='build') + depends_on('py-pytest-runner', type='build') + depends_on('npm', type='build') + depends_on('py-pyinstrument-cext@0.2.2:', type=('build', 'run')) + depends_on('py-pytest', type='test') |