1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2024 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 PyLz4(PythonPackage):
"""lz4 (compression library) bindings for Python"""
homepage = "https://github.com/python-lz4/python-lz4"
pypi = "lz4/lz4-3.1.0.tar.gz"
license("BSD-3-Clause")
version("4.0.2", sha256="083b7172c2938412ae37c3a090250bfdd9e4a6e855442594f86c3608ed12729b")
version("3.1.3", sha256="081ef0a3b5941cb03127f314229a1c78bd70c9c220bb3f4dd80033e707feaa18")
version("3.1.0", sha256="debe75513db3eb9e5cdcd82a329ff38374b6316ab65b848b571e0404746c1e05")
depends_on("python@3.5:", type=("build", "run"))
depends_on("python@3.7:", when="@4.0.2:", type=("build", "run"))
depends_on("py-setuptools@45:", when="@4.0.2:", type="build")
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-scm@6.2:+toml", when="@4.0.2:", type="build")
depends_on("py-setuptools-scm", type="build")
depends_on("py-pkgconfig", type="build")
depends_on("lz4@1.7.5:")
|