summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-spefile/package.py
blob: ff904f1e869f421baa1e92ac0b97a8ed8b51da49 (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 PySpefile(PythonPackage):
    """Reader for SPE files part of pyspec a set of python routines for data
    analysis of x-ray scattering experiments"""

    homepage = "https://github.com/conda-forge/spefile-feedstock"
    git = "https://github.com/conda-forge/spefile-feedstock.git"

    license("BSD-3-Clause")

    version("1.6", commit="24394e066da8dee5e7608f556ca0203c9db217f9")

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

    build_directory = "recipe/src"