summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-30 22:58:36 +0200
committerGitHub <noreply@github.com>2022-03-30 14:58:36 -0600
commit1eb61dd9f3e47dec64f181565e79c7b72f069cb2 (patch)
tree0cae3dd3e67ec4ff11281a875239761790173f6f /var
parent4571f4c994cfd9014253a783dced535406da8b11 (diff)
downloadspack-1eb61dd9f3e47dec64f181565e79c7b72f069cb2.tar.gz
spack-1eb61dd9f3e47dec64f181565e79c7b72f069cb2.tar.bz2
spack-1eb61dd9f3e47dec64f181565e79c7b72f069cb2.tar.xz
spack-1eb61dd9f3e47dec64f181565e79c7b72f069cb2.zip
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>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pysimdjson/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pysimdjson/package.py b/var/spack/repos/builtin/packages/py-pysimdjson/package.py
new file mode 100644
index 0000000000..1177b5b0aa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pysimdjson/package.py
@@ -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')