# IT4Innovations 
# LK 2023

easyblock = 'PythonPackage'

name = 'Code-Aster'
version = '14.6'

homepage = 'https://code-aster.org/V2/spip.php?article272'
description = """Code_Aster is a free and open source software package for civil and structural engineering, finite element analysis and numerical simulation in structural mechanics."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://code-aster.org/FICHIERS/']
sources = ['ster-full-src-%(version)s.0-1.noarch.tar.gz']
checksums = ['42']

dependencies = [
    ('binutils', '2.40'),
    ('Python', '3.11.3'),
    ('Tk', '8.6.13'),
    ('Bison', '3.8.2'),
    ('flex', '2.6.4'),
    ('Boost', '1.82.0'),
    ('zlib', '1.2.13'),
    ('NVHPC', '23.7', '', True)
]

sanity_check_paths = {'files': [], 'dirs': [
    'lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/numpy'], }

sanity_check_commands = [
    ('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]

moduleclass = 'python'
