# IT4Innovations 2019

easyblock = "PythonPackage"
name = 'matplotlib'
version = '2.1.1'

homepage = 'http://matplotlib.org'
description = """Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
 hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
 and ipython shell, web application servers, and six graphical user interface toolkits."""

toolchain = {'name': 'GCCcore', 'version': '8.2.0'}

source_urls = ['https://github.com/matplotlib/matplotlib/archive/']
sources = ['v%(version)s.tar.gz']

dependencies = [
    ('freetype', '2.9.1', '-libpng-1.6.34', True),
    ('libpng', '1.6.34', '', True),
    ('Python', '2.7.15'),
]

sanity_check_paths = {'files': [], 'dirs': [
    'lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/%(name)s'], }

moduleclass = 'python'