Add py-lz4 (#19183)

This commit is contained in:
rvinaybharadwaj 2020-10-07 10:20:14 -06:00 committed by GitHub
parent 09f910902a
commit 8c9187c3b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')