summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-edffile/package.py
blob: 8d0adc4702a119920d933839544fa1ab963d5715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyEdffile(PythonPackage):
    """Generic class for Edf files manipulation."""

    homepage = "https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py"
    git = "https://github.com/conda-forge/edffile-feedstock.git"

    license("BSD-3-Clause")

    version("5.0.0", commit="be5ab4199db9f8209c59e31874934b8536b52301")

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

    build_directory = "recipe/src"