py-jiter: new package (#46308)

This commit is contained in:
Jen Herting 2024-09-22 11:42:12 -04:00 committed by GitHub
parent 3a353c2a04
commit 315f3a0b4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,21 @@
# Copyright 2013-2024 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.package import *
class PyJiter(PythonPackage):
"""Fast iterable JSON parser."""
homepage = "https://github.com/pydantic/jiter/"
pypi = "jiter/jiter-0.5.0.tar.gz"
license("MIT", checked_by="qwertos")
version("0.5.0", sha256="1d916ba875bcab5c5f7d927df998c4cb694d27dceddf3392e58beaf10563368a")
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-maturin@1", type="build")
depends_on("rust@1.73:", type=("build", "run"))