summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortakanori-ihara <62980219+takanori-ihara@users.noreply.github.com>2020-05-07 11:53:16 +0900
committerGitHub <noreply@github.com>2020-05-06 21:53:16 -0500
commit50a2690ce13388f3e5b13192cf09f757ed6389a1 (patch)
tree539e8959f6a74c258c7867b7b5fec9ccc60542d0
parent8845358f10c5007137bd18c3dbc8e8d423f7db94 (diff)
downloadspack-50a2690ce13388f3e5b13192cf09f757ed6389a1.tar.gz
spack-50a2690ce13388f3e5b13192cf09f757ed6389a1.tar.bz2
spack-50a2690ce13388f3e5b13192cf09f757ed6389a1.tar.xz
spack-50a2690ce13388f3e5b13192cf09f757ed6389a1.zip
Add new package:py-json5 (#16273)
* Add new package:py-json5 * Remove unnecessary line
-rw-r--r--var/spack/repos/builtin/packages/py-json5/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-json5/package.py b/var/spack/repos/builtin/packages/py-json5/package.py
new file mode 100644
index 0000000000..71b0b50156
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-json5/package.py
@@ -0,0 +1,19 @@
+# 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 PyJson5(PythonPackage):
+ """The JSON5 Data Interchange Format (JSON5) is a superset of JSON that aims
+ to alleviate some of the limitations of JSON by expanding its syntax to
+ include some productions from ECMAScript 5.1."""
+
+ homepage = "https://github.com/dpranke/pyjson5"
+ url = "https://pypi.io/packages/source/j/json5/json5-0.9.4.tar.gz"
+
+ version('0.9.4', sha256='2ebfad1cd502dca6aecab5b5c36a21c732c3461ddbc412fb0e9a52b07ddfe586')
+
+ depends_on('py-setuptools', type='build')