diff --git a/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-foss-2020b.eb b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-foss-2020b.eb new file mode 100644 index 000000000000..ed77f16aee6e --- /dev/null +++ b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-foss-2020b.eb @@ -0,0 +1,57 @@ +easyblock = 'PythonBundle' + +name = 'matplotlib' +version = '3.3.3' + +homepage = 'https://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': 'foss', 'version': '2020b'} + +builddependencies = [ + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('Python', '3.8.6'), + ('SciPy-bundle', '2020.11'), + ('libpng', '1.6.37'), + ('freetype', '2.10.3'), + ('Tkinter', '%(pyver)s'), + ('Pillow', '8.0.1'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('Cycler', '0.10.0', { + 'modulename': 'cycler', + 'source_tmpl': 'cycler-%(version)s.tar.gz', + 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'], + 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'], + }), + ('kiwisolver', '1.3.0', { + 'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'], + 'checksums': ['14f81644e1f3bf01fbc8b9c990a7889e9bb4400c4d0ff9155aa0bdd19cce24a9'], + }), + (name, version, { + 'prebuildopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'preinstallopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'], + 'checksums': ['b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec'], + }), +] + +sanity_check_commands = [ + """python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """, + "python -c 'from mpl_toolkits.mplot3d import Axes3D'", +] + +# use non-interactive plotting backend as default +# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend +modextravars = {'MPLBACKEND': 'Agg'} + +moduleclass = 'vis' diff --git a/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-fosscuda-2020b.eb b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-fosscuda-2020b.eb new file mode 100644 index 000000000000..8fb868afaca8 --- /dev/null +++ b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-fosscuda-2020b.eb @@ -0,0 +1,57 @@ +easyblock = 'PythonBundle' + +name = 'matplotlib' +version = '3.3.3' + +homepage = 'https://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': 'fosscuda', 'version': '2020b'} + +builddependencies = [ + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('Python', '3.8.6'), + ('SciPy-bundle', '2020.11'), + ('libpng', '1.6.37'), + ('freetype', '2.10.3'), + ('Tkinter', '%(pyver)s'), + ('Pillow', '8.0.1'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('Cycler', '0.10.0', { + 'modulename': 'cycler', + 'source_tmpl': 'cycler-%(version)s.tar.gz', + 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'], + 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'], + }), + ('kiwisolver', '1.3.0', { + 'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'], + 'checksums': ['14f81644e1f3bf01fbc8b9c990a7889e9bb4400c4d0ff9155aa0bdd19cce24a9'], + }), + (name, version, { + 'prebuildopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'preinstallopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'], + 'checksums': ['b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec'], + }), +] + +sanity_check_commands = [ + """python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """, + "python -c 'from mpl_toolkits.mplot3d import Axes3D'", +] + +# use non-interactive plotting backend as default +# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend +modextravars = {'MPLBACKEND': 'Agg'} + +moduleclass = 'vis' diff --git a/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intel-2020b.eb b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intel-2020b.eb new file mode 100644 index 000000000000..d05fd348d94c --- /dev/null +++ b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intel-2020b.eb @@ -0,0 +1,57 @@ +easyblock = 'PythonBundle' + +name = 'matplotlib' +version = '3.3.3' + +homepage = 'https://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': 'intel', 'version': '2020b'} + +builddependencies = [ + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('Python', '3.8.6'), + ('SciPy-bundle', '2020.11'), + ('libpng', '1.6.37'), + ('freetype', '2.10.3'), + ('Tkinter', '%(pyver)s'), + ('Pillow', '8.0.1'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('Cycler', '0.10.0', { + 'modulename': 'cycler', + 'source_tmpl': 'cycler-%(version)s.tar.gz', + 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'], + 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'], + }), + ('kiwisolver', '1.3.0', { + 'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'], + 'checksums': ['14f81644e1f3bf01fbc8b9c990a7889e9bb4400c4d0ff9155aa0bdd19cce24a9'], + }), + (name, version, { + 'prebuildopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'preinstallopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'], + 'checksums': ['b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec'], + }), +] + +sanity_check_commands = [ + """python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """, + "python -c 'from mpl_toolkits.mplot3d import Axes3D'", +] + +# use non-interactive plotting backend as default +# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend +modextravars = {'MPLBACKEND': 'Agg'} + +moduleclass = 'vis' diff --git a/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intelcuda-2020b.eb b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intelcuda-2020b.eb new file mode 100644 index 000000000000..f20755abf93d --- /dev/null +++ b/easybuild/easyconfigs/m/matplotlib/matplotlib-3.3.3-intelcuda-2020b.eb @@ -0,0 +1,57 @@ +easyblock = 'PythonBundle' + +name = 'matplotlib' +version = '3.3.3' + +homepage = 'https://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': 'intelcuda', 'version': '2020b'} + +builddependencies = [ + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('Python', '3.8.6'), + ('SciPy-bundle', '2020.11'), + ('libpng', '1.6.37'), + ('freetype', '2.10.3'), + ('Tkinter', '%(pyver)s'), + ('Pillow', '8.0.1'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('Cycler', '0.10.0', { + 'modulename': 'cycler', + 'source_tmpl': 'cycler-%(version)s.tar.gz', + 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'], + 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'], + }), + ('kiwisolver', '1.3.0', { + 'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'], + 'checksums': ['14f81644e1f3bf01fbc8b9c990a7889e9bb4400c4d0ff9155aa0bdd19cce24a9'], + }), + (name, version, { + 'prebuildopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'preinstallopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ", + 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'], + 'checksums': ['b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec'], + }), +] + +sanity_check_commands = [ + """python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """, + "python -c 'from mpl_toolkits.mplot3d import Axes3D'", +] + +# use non-interactive plotting backend as default +# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend +modextravars = {'MPLBACKEND': 'Agg'} + +moduleclass = 'vis'