summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-coloredlogs/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coloredlogs/package.py b/var/spack/repos/builtin/packages/py-coloredlogs/package.py
new file mode 100644
index 0000000000..edf92e61c8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-coloredlogs/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 PyColoredlogs(PythonPackage):
+ """Colored terminal output for Python's logging module"""
+
+ homepage = "https://pypi.org/project/coloredlogs/"
+ url = "https://pypi.io/packages/source/c/coloredlogs/coloredlogs-10.0.tar.gz"
+
+ version('10.0', sha256='b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-humanfriendly@4.7:', type=('build', 'run'))