# IT4Innovations 2018

easyblock = 'PythonPackage'

name = 'numpy'
version = '1.8.2'

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

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

source_urls = ['https://github.com/numpy/numpy/archive/']
sources = ['v1.8.2.tar.gz']

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

dependencies = [
    ('mkl', '2017.4.239', '', True),
]

sanity_check_paths = {'files': ['bin/f2py'], 'dirs': ['lib/python2.7/'], }

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

moduleclass = 'python'
