# IT4Innovations 2020

easyblock = 'PythonPackage'

name = 'numpy'
version = '1.15.4'

homepage = 'http://www.numpy.org'
description = """NumPy is the fundamental package needed for scientific local_computing with Python."""

toolchain = {'name': 'Py', 'version': 'system'}

source_urls = ['https://github.com/numpy/numpy/releases/download/v%(version)s']
sources = [SOURCE_TAR_GZ]

local_patch = [
    'numpy-1.8.1-mkl.local_patch',
    'numpy-1.11.0-sse42.local_patch'
]

dependencies = [
    ('mkl', '2019.5.281', '', True),
    ('Cython', '0.29.14'),
]

sanity_check_paths = {'files': [], 'dirs': [
    'lib/python2.7/site-packages/%(name)s-%(version)s-py2.7-linux-x86_64.egg/numpy'], }

sanity_check_commands = [
    ('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]

moduleclass = 'python'
