mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
35 lines
971 B
Plaintext
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'
|