# IT4Innovations 2019

easyblock = "PythonPackage"
name = 'BoltzTraP2'
version = '19.7.3'

homepage = 'https://www.imc.tuwien.ac.at/index.php?id=21094'
description = """BoltzTraP2 is a modern implementation of the smoothed Fourier
  interpolation algorithm for electronic bands that formed the base of the original
  and widely used BoltzTraP code."""

toolchain = {'name': 'Py', 'version': '3.6'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('numpy', '1.16.3'),
    ('scipy', '1.3.0'),
    ('matplotlib', '3.1.0'),
    ('spglib', '1.14.1'),
    ('ASE', '3.18.1'),
]

builddependencies = [
    ('CMake', '3.14.1', '', True),
]

options = {'modulename': 'BoltzTraP2'}

sanity_check_paths = {'files': [], 'dirs': [
    'lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/%(name)s'], }

moduleclass = 'python'