summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-lzo/package.py
blob: 3150af660e6f37f54e99b6d1bf6eb73332fb99b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2023 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"

    license("GPL-2.0-only")

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

    depends_on("py-setuptools@42:", when="@1.13:", type="build")
    depends_on("py-setuptools", type="build")
    depends_on("lzo")