summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-spefile/package.py
blob: c6b4adba1f05f3ac5f10d12e71cb0949a24666f5 (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-2018 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 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"

    import_modules = ['spefile']

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

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

    build_directory = 'recipe/src'