name = 'GATE'
version = '8.0'
versionsuffix = '-Python-2.7.14'

homepage = 'http://www.opengatecollaboration.org/'
description = """GATE is an advanced opensource software developed by the international OpenGATE collaboration and
 dedicated to the numerical simulations in medical imaging. It currently supports simulations of Emission Tomography
 (Positron Emission Tomography - PET and Single Photon Emission Computed Tomography - SPECT), and Computed Tomography"""

toolchain = {'name': 'intel', 'version': '2017b'}

source_urls = ['http://www.opengatecollaboration.org/sites/default/files/']
sources = ['%(namelower)s_v%(version)s.tar.gz']
patches = ['GATE-7.0_Makefile-prefix.patch']
checksums = [
    '09f62d6fc7db9997379ffbdacfa4f8f7853a602ec06e20c50494ffeb05d2e416',  # gate_v8.0.tar.gz
    'e72c230df1cdd05c07ac405b22bf26931abdcd3e5f7b942e9c88251ac24cc6af',  # GATE-7.0_Makefile-prefix.patch
]

builddependencies = [('CMake', '3.9.5')]
dependencies = [
    ('Geant4', '10.03.p03'),
    ('CLHEP', '2.3.4.3'),
    ('ROOT', '6.10.08', versionsuffix),
]

moduleclass = 'cae'
