From 627fd1949d003cbc56d2e12f78db3f5fd83959af Mon Sep 17 00:00:00 2001 From: Justin S <3630356+codeandkey@users.noreply.github.com> Date: Mon, 6 Jan 2020 15:53:26 -0600 Subject: 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 --- var/spack/repos/builtin/packages/py-ujson/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-ujson/package.py (limited to 'var') 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') -- cgit v1.2.3-70-g09d2