summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire Guilbaud <34576189+Bidibulke@users.noreply.github.com>2020-07-27 16:32:56 +0200
committerGitHub <noreply@github.com>2020-07-27 16:32:56 +0200
commitfdb21e3e9167125cecde3d0a0cc55333f0081032 (patch)
tree068c430dd1228326151c14422b385f0e3f3be11d
parentd66d430ab5ec5f171eda4887e27d372bfdfad4c7 (diff)
downloadspack-fdb21e3e9167125cecde3d0a0cc55333f0081032.tar.gz
spack-fdb21e3e9167125cecde3d0a0cc55333f0081032.tar.bz2
spack-fdb21e3e9167125cecde3d0a0cc55333f0081032.tar.xz
spack-fdb21e3e9167125cecde3d0a0cc55333f0081032.zip
json logger: new package at v0.1.11 (#17628)
-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')