easyblock = 'ConfigureMake'

name = 'Singularity'
version = '2.2.99'
versionsuffix = '-develop'

homepage = 'http://gmkurtzer.github.io/singularity'
description = """Singularity is a portable application stack packaging and runtime utility."""

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

#source_urls = ['https://github.com/gmkurtzer/singularity/archive/']
sources = ['singularity-%(version)s.tar.gz']

builddependencies = [('Autotools', '20150215')]

dependencies = [('Python', '3.6.1', '', True)]

preconfigopts = './autogen.sh && '

# sanity_check_paths = {
#    'files': ['bin/run-singularity', 'bin/singularity', 'etc/singularity/singularity.conf', 'libexec/singularity/default-nsswitch.conf'],
#    'dirs': ['etc', '', 'libexec/singularity'],
#}

moduleclass = 'tools'
