# JH 2020

easyblock = 'PythonPackage'

name = 'Meson'
version = '0.53.0'

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': 'Py', 'version': '3.7'}

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('Ninja', '1.9.0', '', True),
]

download_dep_fail = True
use_pip = True

options = {'modulename': 'mesonbuild'}

sanity_check_paths = {
    'files': ['bin/meson'],
    'dirs': ['lib/python3.7/site-packages'],
}

moduleclass = 'tools'
