easyconfigs-it4i/p/phono3py/phono3py-0.9.14-Python-2.7.9-ictce-7.3.5.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

35 lines
971 B
Plaintext

easyblock = "PythonPackage"
name = 'phono3py'
version = '0.9.14'
homepage = 'http://phonopy.sourceforge.net/phono3py/index.html'
description = """This software calculates phonon-phonon interaction related properties"""
toolchain = {'name': 'ictce', 'version': '7.3.5'}
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://sourceforge.net/projects/phonopy/files/phono3py/']
patches = ['phono3py-0.9.14-mkl.patch']
# notice the hash hack to override setup.py
prebuildopts = 'python setup3.py build #'
# another hack
preinstallopts = 'python setup3.py install --prefix=%(installdir)s #'
skipsteps = ['test']
options = {'modulename': 'phonopy'}
python = "Python"
pythonversion = '2.7.9'
pythonshortversion = ".".join(pythonversion.split(".")[:-1])
versionsuffix = "-%s-%s" % (python, pythonversion)
dependencies = [
(python, pythonversion),
('LAPACKE', '3.5.0', '', ('LAPACK', '3.5.0')),
('h5py', '2.4.0', '-Python-2.7.9-serial')
]
moduleclass = 'phys'