From 435a15d83c72098ac95585b82f1af1a71aaeba5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Wed, 2 Aug 2017 09:36:21 +0200 Subject: [PATCH] new file: m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb new file: s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb new file: s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb --- ...lotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb | 44 +++++++++++++++++++ .../scikit-image-0.18.2-Python-3.6.1.eb | 36 +++++++++++++++ .../scikit-learn-0.18.2-Python-3.6.1.eb | 30 +++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb create mode 100644 s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb create mode 100755 s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb diff --git a/m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb b/m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb new file mode 100644 index 00000000..ff60d95a --- /dev/null +++ b/m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb @@ -0,0 +1,44 @@ +easyblock = 'Bundle' + +name = 'matplotlib' +version = '2.0.2' +libpng_ver = '1.6.29' +versionsuffix = '-Python-%%(pyver)s-libpng-%s' % libpng_ver + +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': 'dummy', 'version': ''} + +# this is a bundle of Python packages +exts_defaultclass = 'PythonPackage' + +dependencies = [ + ('Python', '3.6.1'), + ('freetype', '2.7.1', '-libpng-%s' % libpng_ver), +] + +exts_list = [ + ('Cycler', '0.10.0', { + 'modulename': 'cycler', + 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'], + 'source_tmpl': 'cycler-%(version)s.tar.gz', + }), + (name, version, { + 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'], + }), +] + +# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module +full_sanity_check = True + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']} + +moduleclass = 'vis' diff --git a/s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb b/s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb new file mode 100644 index 00000000..0ebeece1 --- /dev/null +++ b/s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb @@ -0,0 +1,36 @@ +easyblock = 'PythonPackage' + +name = 'scikit-image' +version = '0.18.2' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'http://scikit-learn.org/stable/index.html' +description = """Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world, +building upon numpy, scipy, and matplotlib. As a machine-learning module, +it provides versatile tools for data mining and analysis in any field of science and engineering. +It strives to be simple and efficient, accessible to everybody, and reusable in various contexts.""" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +freetype_ver = '2.6.5' + +dependencies = [ + ('Python', '3.6.1'), + ('Qhull', '2015.2'), + ('matplotlib', '2.0.2', versionsuffix + '-freetype-%s' % freetype_ver), + ('networkx', '1.11', versionsuffix), + ('Pillow', '4.2.1', versionsuffix + '-freetype-%s' % freetype_ver), + #('sPickle', '0.1.11', versionsuffix) +] + +options = {'modulename': 'skimage'} + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages/'], +} + +moduleclass = 'vis' diff --git a/s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb b/s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb new file mode 100755 index 00000000..bb922662 --- /dev/null +++ b/s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb @@ -0,0 +1,30 @@ +easyblock = 'PythonPackage' + +name = 'scikit-learn' +version = '0.18.2' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'http://scikit-learn.org/stable/index.html' +description = """Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world, +building upon numpy, scipy, and matplotlib. As a machine-learning module, +it provides versatile tools for data mining and analysis in any field of science and engineering. +It strives to be simple and efficient, accessible to everybody, and reusable in various contexts.""" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +dependencies = [ + ('Python', '3.6.1'), + ('matplotlib', '2.0.2', versionsuffix + '-libpng-1.6.29'), +] + +options = {'modulename': 'sklearn'} + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages/sklearn'], +} + +moduleclass = 'data'