summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-lzo/package.py
blob: be540f7e657519a102b2560f7c91f94763a43527 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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 PyPythonLzo(PythonPackage):
    """This module provides Python bindings for the LZO data compression
    library."""

    homepage = "https://github.com/jd-boyd/python-lzo"
    pypi = "python-lzo/python-lzo-1.12.tar.gz"

    version("1.12", sha256="97a8e46825e8f1abd84c2a3372bc09adae9745a5be5d3af2692cd850dac35345")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")
    depends_on("lzo")