py-zstandard: new package (#45388)

Signed-off-by: Teague Sterling <teaguesterling@gmail.com>
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
Teague Sterling 2024-08-01 17:43:10 -07:00 committed by GitHub
parent e2d8b581db
commit e110e3c3af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,20 @@
# 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 PyZstandard(PythonPackage):
"""Python bindings to the Zstandard (zstd) compression library."""
homepage = "https://github.com/indygreg/python-zstandard"
pypi = "zstandard/zstandard-0.22.0.tar.gz"
license("BSD", checked_by="teaguesterling")
version("0.22.0", sha256="8226a33c542bcb54cd6bd0a366067b610b41713b64c9abec1bc4533d69f51e70")
depends_on("py-cffi@1.16.0:")
depends_on("py-setuptools@:68", type="build")
depends_on("zstd")