easyblock = 'EB_EasyBuildMeta'

name = 'EasyBuild'
version = '3.4.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/6a/56/70e72d757112c7ee8f7fceb033f150d423d168b08eeb3f4adaeb02114d70',
    # easybuild-easyblocks
    'https://pypi.python.org/packages/47/f2/60674a7bdf4be589ea55c684227bc50a987b64249aedfc725ad85bd9e5d7',
    # easybuild-easyconfigs
    'https://pypi.python.org/packages/a2/46/ef2a9d4a89394402d74ef281ffdb2c423bde1131fdc8bf2425513538fbe4',
]
# 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
    '74b952d612c390acd87d367adc813307c35baa49669effd7cd593392922d5b0d',  # easybuild-framework-3.4.0.tar.gz
    'd6b1459fbe5b8d8fd66a36e49606959508ec18e23eed281972e1180fccad52ac',  # easybuild-easyblocks-3.4.0.tar.gz
    'e9ebe7fb70ddb4fa00ce41ddb92119c3e7ee99ff1422f5f299f958d7da99294e',  # easybuild-easyconfigs-3.4.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'
