summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-02-01 12:14:00 -0500
committerGitHub <noreply@github.com>2021-02-01 11:14:00 -0600
commitf78140361551401de2c7a46c29440a0136d80f23 (patch)
tree6291a95deef370ec3dd53ac949fb5c47d4f8d271
parent0b58499d7a92468300cb39f73d9b2dc5a7d60c02 (diff)
downloadspack-f78140361551401de2c7a46c29440a0136d80f23.tar.gz
spack-f78140361551401de2c7a46c29440a0136d80f23.tar.bz2
spack-f78140361551401de2c7a46c29440a0136d80f23.tar.xz
spack-f78140361551401de2c7a46c29440a0136d80f23.zip
py-colored-traceback: new package (#21423)
-rw-r--r--var/spack/repos/builtin/packages/py-colored-traceback/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colored-traceback/package.py b/var/spack/repos/builtin/packages/py-colored-traceback/package.py
new file mode 100644
index 0000000000..e643af79e0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colored-traceback/package.py
@@ -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'))