easyblock = 'PythonBundle'

name = 'SciPy-bundle'
version = '2019.10'
versionsuffix = '-Python-2.7.18'

homepage = 'https://python.org/'
description = "Bundle of Python packages for scientific software"

toolchain = {'name': 'foss', 'version': '2020b'}
toolchainopts = {'pic': True, 'lowopt': True}

dependencies = [
    ('Python', '2.7.18'),
]

use_pip = True

# order is important!
# package versions updated Sep 17th 2019 to latest versions compatible with python2
exts_list = [
    ('numpy', '1.16.5', {
        'source_tmpl': '%(name)s-%(version)s.zip',
        'source_urls': ['https://pypi.python.org/packages/source/n/numpy/'],
        'checksums': ['8bb452d94e964b312205b0de1238dd7209da452343653ab214b5d681780e7a0c'],
    }),
    #('scipy', '1.2.2', {
    #    'source_urls': ['https://pypi.python.org/packages/source/s/scipy/'],
    #    'checksums': ['a4331e0b8dab1ff75d2c67b5158a8bb9a83c799d7140094dda936d876c7cfbb1'],
    #}),
    ('mpi4py', '3.0.2', {
        'source_urls': ['https://bitbucket.org/mpi4py/mpi4py/downloads/'],
        'checksums': ['f8d629d1e3e3b7b89cb99d0e3bc5505e76cc42089829807950d5c56606ed48e0'],
    }),
    ('pandas', '0.24.2', {
        'source_urls': ['https://pypi.python.org/packages/source/p/pandas/'],
        'checksums': ['4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2'],
    }),
    ('mpmath', '1.1.0', {
        'source_urls': ['https://pypi.python.org/packages/source/m/mpmath/'],
        'checksums': ['fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6'],
    }),
]

moduleclass = 'lang'
