summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-colorlog/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colorlog/package.py b/var/spack/repos/builtin/packages/py-colorlog/package.py
new file mode 100644
index 0000000000..5a51f77ad8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colorlog/package.py
@@ -0,0 +1,18 @@
+# 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 PyColorlog(PythonPackage):
+ """A colored formatter for the python logging module"""
+
+ homepage = "https://github.com/borntyping/python-colorlog"
+ url = "https://pypi.org/packages/source/c/colorlog/colorlog-4.0.2.tar.gz"
+
+ version('4.0.2', sha256='3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42')
+ version('3.1.4', sha256='418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d')
+
+ depends_on('py-setuptools', type='build')