spack/var/spack/repos/builtin/packages/py-blis/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

25 lines
776 B
Python

# 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 PyBlis(PythonPackage):
"""Cython BLIS: Fast BLAS-like operations from Python and Cython,
without the tears"""
homepage = "https://github.com/explosion/cython-blis"
pypi = "blis/blis-0.4.1.tar.gz"
version("0.4.1", sha256="d69257d317e86f34a7f230a2fd1f021fd2a1b944137f40d8cdbb23bd334cd0c4")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.15:", type=("build", "run"))
def setup_build_environment(self, env):
env.set("BLIS_COMPILER", spack_cc)
env.set("BLIS_ARCH", "generic")