# IT4Innovations 2022
# JK

easyblock = 'Tarball'

name = 'vaspkit'
version = '1.3.5'

homepage = 'https://vaspkit.com/'
docurls = 'https://vaspkit.com/'
description = """VASPKIT aims at providing a powerful and user-friendly interface to perform high
 throughput analysis of various material properties from the raw calculated data using the widely-used
 VASP code."""

toolchain = {'name': 'foss', 'version': '2022a'}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%(namelower)s.%(version)s.linux.x64.tar.gz']
patches = ['vaspkit-1.3.5-fix-install.patch']

dependencies = [('matplotlib', '3.5.2')]

sanity_check_paths = {
    'files': ["bin/vaspkit", "how_to_set_environment_variables"],
    'dirs': ["bin", "utilities", "examples"],
}

modloadmsg = "Vaspkit configuration template is available at $EBROOTVASPKIT/how_to_set_environment_variables."

moduleclass = 'tools'
