py-colored-traceback: new package (#21423)

This commit is contained in:
Andrew-Dunning-NNL 2021-02-01 12:14:00 -05:00 committed by GitHub
parent 0b58499d7a
commit f781403615
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 PyColoredTraceback(PythonPackage):
"""Automatically color Python's uncaught exception tracebacks."""
homepage = "https://github.com/staticshock/colored-traceback.py"
pypi = "colored-traceback/colored-traceback-0.3.0.tar.gz"
version('0.3.0', sha256='6da7ce2b1da869f6bb54c927b415b95727c4bb6d9a84c4615ea77d9872911b05')
depends_on('py-setuptools', type='build')
depends_on('py-pygments', type=('build', 'run'))