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
This commit is contained in:
Justin S 2020-01-06 15:53:26 -06:00 committed by Adam J. Stewart
parent 47750c8800
commit 627fd1949d

View file

@ -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')