py-pysimdjson: Add new package (#29767)

* py-pysimdjson: Add new package

* Cleanup

* Fix python requirement

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
haralmha 2022-03-30 22:58:36 +02:00 committed by GitHub
parent 4571f4c994
commit 1eb61dd9f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2022 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 PyPysimdjson(PythonPackage):
"""Python bindings for the simdjson project, a SIMD-accelerated
JSON parser. If SIMD instructions are unavailable a fallback parser
is used, making pysimdjson safe to use anywhere."""
homepage = "http://github.com/TkTech/pysimdjson"
pypi = "pysimdjson/pysimdjson-4.0.3.tar.gz"
maintainers = ['haralmha']
version('4.0.3', sha256='61900992d7f992b073a8c5f93cafa4af9bfd3209624baa775699b0fdd6f67517')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')