# IT4Innovations 2018

easyblock = 'EB_EasyBuildMeta'

name = 'EasyBuild'
version = '3.7.1'
versionsuffix = '-develop'

homepage = 'https://easybuilders.github.io/easybuild'
description = """EasyBuild is a software build and installation framework
 written in Python that allows you to install software in a structured,
 repeatable and robust way."""

toolchain = SYSTEM

source_urls = [
    # vsc-install
    'https://files.pythonhosted.org/packages/b6/03/becd813f5c4e8890254c79db8d2558b658f5a3ab52157bc0c077c6c9beea/',
    # vsc-base
    'https://files.pythonhosted.org/packages/62/e5/589612e47255627e4752d99018ae7cff8f49ab0fa6b4ba7b2226a76a05d3/',
    # easybuild-framework
    'https://files.pythonhosted.org/packages/0a/4f/6f627e1ae8a99676c62267f7fb5c14d5ff6e3d8e004b1f5307885711099a/',
    # easybuild-easyblocks
    'https://files.pythonhosted.org/packages/b7/02/149659f66677254e7f525bede61ad4f35b9787534298b9ff841fbc64ec87/',
    # easybuild-easyconfigs
    'https://files.pythonhosted.org/packages/a9/89/8ee3e06e64b06ada47a78bc2ce234e23f54dac5d5cb649fd613ec9435154/',
]
sources = [
    'vsc-install-0.11.2.tar.gz',
    'vsc-base-2.8.3.tar.gz',
    'easybuild-framework-%(version)s.tar.gz',
    'easybuild-easyblocks-%(version)s.tar.gz',
    'easybuild-easyconfigs-%(version)s.tar.gz',
]

# order matters a lot, to avoid having dependencies auto-resolved (--no-deps easy_install option doesn't work?)
# EasyBuild is a (set of) Python packages, so it depends on Python
# usually, we want to use the system Python, so no actual Python dependency is listed
allow_system_deps = [('Python', SYS_PYTHON_VERSION)]

moduleclass = 'tools'
