easyblock = 'PythonPackage'

name = 'SCons'
version = '2.5.1'

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

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

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://prdownloads.sourceforge.net/%(namelower)s']

local_python = 'Python'
local_pyver = '2.7.13'
versionsuffix = '-%s-%s' % (local_python, local_pyver)
dependencies = [(local_python, local_pyver, '', True)]

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

options = {'modulename': False}

moduleclass = 'devel'
