py-stack-data: add new package (#29125)

This commit is contained in:
Manuela Kuhn 2022-02-22 21:11:52 +01:00 committed by GitHub
parent d840c3a069
commit ed447e1ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2022 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 PyStackData(PythonPackage):
"""Extract data from python stack frames and tracebacks for informative
displays."""
homepage = "http://github.com/alexmojaki/stack_data"
pypi = "stack_data/stack_data-0.2.0.tar.gz"
version('0.2.0', sha256='45692d41bd633a9503a5195552df22b583caf16f0b27c4e58c98d88c8b648e12')
depends_on('py-setuptools@44:', type='build')
depends_on('py-setuptools-scm+toml@3.4.3:', type='build')
depends_on('py-executing', type=('build', 'run'))
depends_on('py-asttokens', type=('build', 'run'))
depends_on('py-pure-eval', type=('build', 'run'))