summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2020-01-06 15:53:26 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-06 15:53:26 -0600
commit627fd1949d003cbc56d2e12f78db3f5fd83959af (patch)
treeb963c6a682cce396ae1323de32407370813d2932 /var
parent47750c8800a08b768066842a51113bb0c2141962 (diff)
downloadspack-627fd1949d003cbc56d2e12f78db3f5fd83959af.tar.gz
spack-627fd1949d003cbc56d2e12f78db3f5fd83959af.tar.bz2
spack-627fd1949d003cbc56d2e12f78db3f5fd83959af.tar.xz
spack-627fd1949d003cbc56d2e12f78db3f5fd83959af.zip
py-ujson: new package at 1.35 (#14279)
* py-ujson: new package at 1.35 * py-ujson: use PyPI mirror, add missing deps * py-ujson: use short PyPI url
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-ujson/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ujson/package.py b/var/spack/repos/builtin/packages/py-ujson/package.py
new file mode 100644
index 0000000000..45e9b280e8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ujson/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 PyUjson(PythonPackage):
+ """Ultra fast JSON decoder and encoder written in C with Python
+ bindings."""
+
+ homepage = "https://github.com/esnme/ultrajson"
+ url = "https://pypi.io/packages/source/u/ujson/ujson-1.35.tar.gz"
+
+ version('1.35', sha256='f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86')
+
+ depends_on('py-setuptools', type='build')