add py-flameprof (#25539)

This commit is contained in:
Harmen Stoppels 2021-08-28 01:22:35 +02:00 committed by GitHub
parent f5ab3ad82a
commit 9577d890c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# 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 PyFlameprof(PythonPackage):
"""Flamegraph generator for python's cProfile stats."""
homepage = "https://github.com/baverman/flameprof/"
pypi = "flameprof/flameprof-0.4.tar.gz"
maintainers = ['haampie']
version('0.4', sha256='dbc86d4190cbbba624f1e0a40f44d9db96138e27534d83c8ef42d420857875a3')
depends_on('py-setuptools', type='build')