summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lz4/package.py
blob: 656b7e0266a0e79f34c49ad8ad140f336abed296 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')