# IT4Innovations
# BS 2024

easyblock = 'PythonPackage'

name = 'Meson'
version = '0.64.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://mesonbuild.com'
description = "Meson is a cross-platform build system designed to be both as fast and as user friendly as possible."

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

sources = [SOURCELOWER_TAR_GZ]
checksums = ['3b5741f884e04928bdfa1947467ff06afa6c98e623c25cef75adf71ca39ce080']

builddependencies = [
    ('binutils', '2.39'),
]

dependencies = [
    ('Python', '3.10.8'),
    ('Ninja', '1.11.1'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

options = {'modulename': 'mesonbuild'}

sanity_check_paths = {
    'files': ['bin/meson'],
    'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

moduleclass = 'tools'
