easyblock = 'EB_EasyBuildMeta'

name = 'EasyBuild'
version = '3.5.0'

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 = {'name': 'dummy', 'version': 'dummy'}

source_urls = [
    # vsc-install
    'https://pypi.python.org/packages/82/ec/19d85d2bb91b562195d00db9ac82d7529904e7eabc0597720966bf74714f/',
    # vsc-base
    'https://pypi.python.org/packages/f7/66/1ff7ecc4a93ba37e063f5bfbe395e95a547b1dec73b017c2724f4475a958/',
    # easybuild-framework
    'https://pypi.python.org/packages/0a/3a/76763f7eea541ee1f5732dcad6ee4600b13bded27680c798d3fa45864118/',
    # easybuild-easyblocks
    'https://pypi.python.org/packages/f5/c1/5f6ccede11a4ee66c241c046239758baf1136ff5ccfcffd9f7436702e432/',
    # easybuild-easyconfigs
    'https://pypi.python.org/packages/99/df/712dbb9580fa63d25e5d60cf5596425d0cc235dde82e7bc80c9f07dfe9e0/',
]
# order matters a lot, to avoid having dependencies auto-resolved (--no-deps easy_install option doesn't work?)
sources = [
    'vsc-install-0.10.26.tar.gz',
    'vsc-base-2.5.8.tar.gz',
    'easybuild-framework-%(version)s.tar.gz',
    'easybuild-easyblocks-%(version)s.tar.gz',
    'easybuild-easyconfigs-%(version)s.tar.gz',
]
checksums = [
    'f97b5ca8b171964c12347e5b814ae5266698f5ea134056f04ff752a1eb562f30',  # vsc-install-0.10.26.tar.gz
    '7fcd300f842edf4baade7d0b7a3b462ca7dfb2a411a7532694a90127c6646ee2',  # vsc-base-2.5.8.tar.gz
    '20e1c494a18f8972958e38206dcc64ad325d0345904845e844e3ad7bf0ed86e3',  # easybuild-framework-3.5.0.tar.gz
    '3633b3af5e410f87dfecd7da761c6aef97835ffb02bda473e84554668526e67c',  # easybuild-easyblocks-3.5.0.tar.gz
    'f642e56fc1a6f28f110b77c1c884a8404d9fe8dcb7ebfcde5d7c2db5be9bde6d',  # easybuild-easyconfigs-3.5.0.tar.gz
]

# 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'
