easyblock = 'PythonPackage'

name = 'SCons'
version = '2.5.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.scons.org/'
description = "SCons is a software construction tool."

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

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2']

dependencies = [('Python', '2.7.13')]

sanity_check_paths = {
    'files': ['bin/scons', 'bin/scons-time', 'bin/sconsign'],
    'dirs': ['lib/%(namelower)s-%(version)s/%(name)s'],
}

# no Python module to import during sanity check
options = {'modulename': False}

moduleclass = 'devel'
