summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-07 10:20:14 -0600
committerGitHub <noreply@github.com>2020-10-07 10:20:14 -0600
commit8c9187c3b371723e976a187440e0ebb73685603a (patch)
treeb1e87cc1eabfb713d974e96d7bc6f53f3a08f5d8 /var
parent09f910902a4ba68d1a7a33fdcafe41866eb4d42c (diff)
downloadspack-8c9187c3b371723e976a187440e0ebb73685603a.tar.gz
spack-8c9187c3b371723e976a187440e0ebb73685603a.tar.bz2
spack-8c9187c3b371723e976a187440e0ebb73685603a.tar.xz
spack-8c9187c3b371723e976a187440e0ebb73685603a.zip
Add py-lz4 (#19183)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-lz4/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lz4/package.py b/var/spack/repos/builtin/packages/py-lz4/package.py
new file mode 100644
index 0000000000..656b7e0266
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lz4/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 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 PyLz4(PythonPackage):
+ """lz4 (compression library) bindings for Python"""
+
+ homepage = "https://github.com/python-lz4/python-lz4"
+ url = "https://pypi.io/packages/source/l/lz4/lz4-3.1.0.tar.gz"
+
+ version('3.1.0', sha256='debe75513db3eb9e5cdcd82a329ff38374b6316ab65b848b571e0404746c1e05')
+
+ depends_on('python@3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')