# JH 2020 easyblock = 'PythonPackage' name = 'phonopy' version = '2.6.1' versionsuffix = '-Python-%(pyver)s' homepage = 'http://atztogo.github.io/phonopy/' description = """Phonopy is an open source package of phonon calculations based on the supercell approach.""" toolchain = {'name': 'intel', 'version': '2020a'} source_urls = ['https://github.com/phonopy/phonopy/archive/'] sources = ["v%(version)s.tar.gz"] dependencies = [ ('Python', '3.8.2'), ('matplotlib', '3.2.1', versionsuffix), ('lxml', '4.5.2'), ('PyYAML', '5.3'), ('h5py', '2.10.0', versionsuffix), ] # required because we're building a Python package using Intel compilers on top of Python built with GCC check_ldshared = True download_dep_fail = True use_pip = True sanity_check_paths = { 'files': ['bin/phonopy'], 'dirs': ['lib/python%(pyshortver)s/site-packages'], } moduleclass = 'python'