summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeague Sterling <teaguesterling@users.noreply.github.com>2024-08-01 17:43:10 -0700
committerGitHub <noreply@github.com>2024-08-01 18:43:10 -0600
commite110e3c3af215c5e6ef0b5150e69287104c6daf6 (patch)
tree476bf96ff210304a54bd804cddb10c76b0f22957
parente2d8b581db7e555d3eaa11a6f4ba4ee0f5ca2d4c (diff)
downloadspack-e110e3c3af215c5e6ef0b5150e69287104c6daf6.tar.gz
spack-e110e3c3af215c5e6ef0b5150e69287104c6daf6.tar.bz2
spack-e110e3c3af215c5e6ef0b5150e69287104c6daf6.tar.xz
spack-e110e3c3af215c5e6ef0b5150e69287104c6daf6.zip
py-zstandard: new package (#45388)
Signed-off-by: Teague Sterling <teaguesterling@gmail.com> Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-zstandard/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-zstandard/package.py b/var/spack/repos/builtin/packages/py-zstandard/package.py
new file mode 100644
index 0000000000..36d1bbe3ce
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-zstandard/package.py
@@ -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")