summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")