summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-python-json-logger/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-json-logger/package.py b/var/spack/repos/builtin/packages/py-python-json-logger/package.py
new file mode 100644
index 0000000000..b3aa3efbca
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-json-logger/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 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 PyPythonJsonLogger(PythonPackage):
+ """"A python library adding a json log formatter."""
+
+ homepage = "https://github.com/madzak/python-json-logger"
+ url = "https://pypi.io/packages/source/p/python-json-logger/python-json-logger-0.1.11.tar.gz"
+
+ version('0.1.11', sha256='b7a31162f2a01965a5efb94453ce69230ed208468b0bbc7fdfc56e6d8df2e281')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools')