summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pymatreader/package.py
blob: dd8984964410e1fd74290a803140bbb4518bc61e (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
24
25
# 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 PyPymatreader(PythonPackage):
    """Convenient reader for Matlab mat files."""

    homepage = "https://gitlab.com/obob/pymatreader"
    pypi = "pymatreader/pymatreader-0.0.30.tar.gz"

    license("BSD-2-Clause")

    version("0.0.30", sha256="c8187b6ee77a9b1ec0d8ccae9b22c9031d01104a412737cc4a71e6d993a1a12b")

    depends_on("py-setuptools", type="build")

    depends_on("py-h5py", type=("build", "run"))
    depends_on("py-scipy@:1.6,1.7.1:", type=("build", "run"))
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-xmltodict", type=("build", "run"))
    depends_on("py-future", type=("build", "run"))