# IT4Innovations 2019

easyblock = 'PythonPackage'

name = 'Meson'
version = '0.50.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': '2.7'}

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['13e034b8e74fd39cb4a833915343bcb291b0337374d0537b76922605dad28648']

dependencies = [
    ('Ninja', '1.9.0', '', ('GCCcore', '6.3.0')),
]

download_dep_fail = True
use_pip = True

options = {'modulename': 'mesonbuild'}

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

moduleclass = 'tools'
