easyblock = "PythonPackage" name = 'matplotlib' version = '1.4.3' homepage = 'http://matplotlib.org' description = """matplotlib is a local_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 local_python scripts, the local_python and ipython shell, web application servers, and six graphical user interface toolkits.""" toolchain = {'name': 'intel', 'version': '2015b'} source_urls = [SOURCEFORGE_SOURCE] sources = [SOURCELOWER_TAR_GZ] patches = [('matplotlib-%(version)s_Qhull-intel-fix.patch')] local_python = "Python" local_pythonversion = '2.7.9' local_pyshortver = ".".join(local_pythonversion.split(".")[:-1]) versionsuffix = "-%s-%s" % (local_python, local_pythonversion) dependencies = [ (local_python, local_pythonversion), ('freetype', '2.5.5'), ('libpng', '1.6.16'), ] local_pyprefix = 'lib/local_python%s/site-packages' % local_pyshortver local_eggname = 'matplotlib-%%(version)s-py%s-linux-x86_64.egg' % local_pyshortver sanity_check_paths = { 'files': [], 'dirs': [('%s/%%(name)s' % local_pyprefix, '%s/%s' % (local_pyprefix, local_eggname))], } moduleclass = 'vis'