# IT4Innovations 2023
# JK

name = 'ANSYS'
version = '2023R1'

homepage = 'http://www.ansys.com'
description = """ANSYS simulation software enables organizations to confidently predict
 how their products will operate in the real world. We believe that every product is
 a promise of something greater. """

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

sources = [
    {'filename': '%(name)s%(version)s_LINX64_DISK1.iso', 'extract_cmd': '7z x -aos %s'},
    {'filename': '%(name)s%(version)s_LINX64_DISK2.iso', 'extract_cmd': '7z x -aos %s'},
    {'filename': '%(name)s%(version)s_LINX64_DISK3.iso', 'extract_cmd': '7z x -aos %s'},
]
checksums = [
    {'ANSYS2023R1_LINX64_DISK1.iso': 'fa3f75c1fa14ae7cf2da56e9912151b4'},
    {'ANSYS2023R1_LINX64_DISK2.iso': '7cd1c490aeeeede3b8651c747002e4f2'},
    {'ANSYS2023R1_LINX64_DISK3.iso': '677341a8fd5cb45535115345c7dd55b9'},
]

#dependencies = [
#   ('libGLU', '9.0.2'), # mame v systemu, pro jistotu zkusime bez protoze stary CentOS
#   ('libnsl', '2.0.0'), # moc nove pro CentOS 7!!!
#]

osdependencies = [('p7zip', 'p7zip-plugins')]

import os
license_server = os.getenv('EB_ANSYS_LICENSE_SERVER', '10.5.8.13')
license_server_port = os.getenv('EB_ANSYS_LICENSE_SERVER_PORT', '2325:1055')

moduleclass = 'tools'
