Explorar o código

New GTK+-3 & al

Super Pierre-Yves Barriat %!s(int64=6) %!d(string=hai) anos
pai
achega
56de093c7f

+ 39 - 0
foss-2018b/ATK-2.28.1-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,39 @@
+easyblock = 'ConfigureMake'
+
+name = 'ATK'
+version = '2.28.1'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://developer.gnome.org/ATK/stable/'
+description = """
+ ATK provides the set of accessibility interfaces that are implemented by other
+ toolkits and applications. Using the ATK interfaces, accessibility tools have
+ full access to view and control running applications.
+"""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc']
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+]
+dependencies = [
+    ('Python', '3.6.6'),
+    ('GLib', '2.54.3'),
+]
+
+configopts = "--enable-introspection=yes"
+
+modextrapaths = {
+    'XDG_DATA_DIRS': 'share',
+}
+
+sanity_check_paths = {
+    'files': ['lib/libatk-1.0.%s' % SHLIB_EXT],
+    'dirs': [],
+}
+
+moduleclass = 'vis'

+ 2 - 1
foss-2018b/ELIC-0.1-foss-2018b-Python-2.7.15.eb

@@ -19,6 +19,7 @@ dependencies = [
     ('R', '3.5.1', versionsuffix),
     ('CDO', '1.9.5'),
     ('NCO', '4.7.9', versionsuffix),
+    ('ncview', '2.1.7'),
     ('GEOS', '3.6.2', versionsuffix),
     ('libjpeg-turbo', '2.0.0'),
     ('libpng', '1.6.34'),
@@ -437,4 +438,4 @@ modextrapaths = {
     'R_LIBS': '',
 }
 
-moduleclass = 'lang'
+moduleclass = 'numlib'

+ 85 - 12
foss-2018b/ELIC-0.1-foss-2018b-Python-3.6.6.eb

@@ -18,6 +18,8 @@ dependencies = [
     ('NCL', '6.5.0'),
     ('R', '3.5.1', versionsuffix),
     ('CDO', '1.9.5'),
+    ('NCO', '4.7.9'),
+    ('ncview', '2.1.7'),
     ('GEOS', '3.6.2', versionsuffix),
     ('libjpeg-turbo', '2.0.0'),
     ('libpng', '1.6.34'),
@@ -27,10 +29,11 @@ dependencies = [
     ('PROJ', '5.0.0'),
     ('netCDF', '4.6.1'),
     ('GDAL', '2.2.3', versionsuffix),
-    #('PyGTK', '2.24.0', versionsuffix),
-    #('ecCodes', '2.8.2'),
-    #('libmo_unpack', '3.1.2'),
-    #('numba', '0.43.0', versionsuffix),
+    ('GTK+', '3.24.7', versionsuffix),
+    ('PyGObject', '3.28.3', versionsuffix),
+    ('ecCodes', '2.8.2'),
+    ('libmo_unpack', '3.1.2'),
+    ('numba', '0.43.0', versionsuffix),
 ]
 
 exts_defaultclass = 'PythonPackage'
@@ -38,7 +41,15 @@ exts_default_options = {
     'source_tmpl': '%(name)s-%(version)s.tar.gz',
 }
 
-exts_classmap = {'ncdf4': 'RPackage'}
+exts_classmap = {
+    'ncdf4': 'RPackage',
+    'gdtools': 'RPackage',
+    'leaflet': 'RPackage',
+    'satellite': 'RPackage',
+    'sf': 'RPackage',
+    'svglite': 'RPackage',
+    'mapview': 'RPackage'
+}
 exts_list = [
     # Python deps, order is important!
     ('pip', '19.0.3', {
@@ -152,12 +163,12 @@ exts_list = [
         'source_urls': ['https://github.com/matplotlib/basemap/archive'],
         'checksums': ['6acdc3a08bfcebf0a1b52a05d73d51b7aa5e7240fedfa95537c92d16f2ef8778'],
     }),
-    ('scitools-iris', '2.2.0', {
-        'modulename': 'iris',
-        'source_tmpl': 'v%(version)s.tar.gz',
-        'source_urls': ['https://github.com/SciTools/iris/archive/'],
-        'checksums': ['e4b52e43da16b72af9ccbcb4d53bc401'],
-    }),
+    #('scitools-iris', '2.2.0', {
+    #    'modulename': 'iris',
+    #    'source_tmpl': 'v%(version)s.tar.gz',
+    #    'source_urls': ['https://github.com/SciTools/iris/archive/'],
+    #    'checksums': ['e4b52e43da16b72af9ccbcb4d53bc401'],
+    #}),
     ('patsy', '0.5.0', {
         'source_urls': ['https://pypi.python.org/packages/source/p/patsy/'],
         'checksums': ['e05f38d5c38c8d216f0cc2b765b1069b433c92d628b954fb2fee68d13e42883b'],
@@ -343,6 +354,15 @@ exts_list = [
         'source_urls': ['https://pypi.python.org/packages/source/s/scikit-image/'],
     }),
     ################################
+    ('futures', '3.2.0', {
+        'modulename': '__future__',
+        'source_urls': ['https://pypi.python.org/packages/source/f/futures/'],
+    }),
+    ('PyNaCl', '1.3.0', {
+        'modulename': 'nacl',
+        'source_urls': ['https://pypi.python.org/packages/source/p/PyNaCl/'],
+    }),
+    ################################
     # R extension
     ('ncdf4', '1.16', {
         'source_tmpl': '%(name)s_%(version)s.tar.gz',
@@ -353,8 +373,61 @@ exts_list = [
         ],
         'checksums': ['edd5731a805bbece3a8f6132c87c356deafc272351e1dd07256ca00574949253'],
     }),
+    ('gdtools', '0.1.7', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/gdtools',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('leaflet', '2.0.2', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/leaflet',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('satellite', '1.0.1', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/satellite',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('sf', '0.7-3', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/sf',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('svglite', '1.2.1', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/svglite',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('mapview', '2.6.3', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/mapview',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
 ]
 
+sanity_check_paths = {
+    'files': ['sf/libs/sf.so'],
+    'dirs': [],
+}
+
 postinstallcmds = [
     "cd %(installdir)s/bin && " +
     'chmod 755 pip'
@@ -366,4 +439,4 @@ modextrapaths = {
     'R_LIBS': '',
 }
 
-moduleclass = 'lang'
+moduleclass = 'numlib'

+ 1 - 1
foss-2018b/ELIC-0.2-foss-2018b-Python-2.7.15.eb

@@ -104,4 +104,4 @@ modextrapaths = {
     'R_LIBS': '',
 }
 
-moduleclass = 'lang'
+moduleclass = 'numlib'

+ 286 - 0
foss-2018b/ELIC-0.2-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,286 @@
+easyblock = 'Binary'
+
+name = 'ELIC'
+version = '0.2'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://gogs.elic.ucl.ac.be'
+description = """This repo provides additional Python and R extensions for ELIC ecosystem."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+toolchainopts = {'pic': True}
+
+source_urls = ['https://github.com/ESMValGroup/ESMValTool/archive/']
+sources = [{'filename': 'ESMValTool.tar.gz', 'download_filename': 'v2.0a1.tar.gz'}]
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('ELIC', '0.1', versionsuffix),
+]
+
+exts_defaultclass = 'PythonPackage'
+exts_default_options = {
+    'source_tmpl': '%(name)s-%(version)s.tar.gz',
+}
+
+exts_classmap = {
+    'ncdf4': 'RPackage',
+    'gdtools': 'RPackage',
+    'leaflet': 'RPackage',
+    'satellite': 'RPackage',
+    'sf': 'RPackage',
+    'svglite': 'RPackage',
+    'mapview': 'RPackage'
+}
+exts_list = [
+    # Python deps, order is important!
+    ('matplotlib', '3.0.3', {
+        'modulename': 'matplotlib',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/matplotlib/matplotlib/archive/'],
+    }),
+    ('astropy', '3.1.2', {
+        'modulename': 'skimage',
+        'source_urls': ['https://pypi.python.org/packages/source/a/astropy/'],
+    }),
+    ('oktopus', '0.1.2', {
+        'modulename': 'skimage',
+        'source_urls': ['https://pypi.python.org/packages/source/o/oktopus/'],
+    }),
+    ('bs4', '0.0.1', {
+        'modulename': 'skimage',
+        'source_urls': ['https://pypi.python.org/packages/source/b/bs4/'],
+    }),
+    ('tqdm', '4.31.1', {
+        'modulename': 'skimage',
+        'source_urls': ['https://pypi.python.org/packages/source/t/tqdm/'],
+    }),
+    ('PyKE', '3.1.0', {
+        'modulename': 'pyke',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/KeplerGO/pyke/archive/'],
+    }),
+    ('scitools-iris', '2.2.0', {
+        'modulename': 'iris',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/SciTools/iris/archive/'],
+        'checksums': ['e4b52e43da16b72af9ccbcb4d53bc401'],
+    }),
+    ('basemap', '1.2.0rel', {
+        'modulename': 'mpl_toolkits.basemap',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/matplotlib/basemap/archive'],
+    }),
+    ###############################################################"
+    ('scipy', '1.2.1', {
+        'source_urls': ['https://pypi.python.org/packages/source/s/scipy/'],
+    }),            
+    ('six', '1.12.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/s/six/'],
+    }),
+    ('virtualenv', '16.4.3', {
+        'source_urls': ['https://pypi.python.org/packages/source/x/virtualenv/'],
+    }),
+    ('xlrd', '1.2.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/x/xlrd/'],
+    }),
+    ('affine', '2.2.2', {
+        'source_urls': ['https://pypi.python.org/packages/source/a/affine/'],
+    }),          
+    ('atomicwrites', '1.3.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/a/atomicwrites/'],
+    }),
+    ('boto3', '1.9.116', {
+        'source_urls': ['https://pypi.python.org/packages/source/b/boto3/'],
+    }),
+    ('botocore', '1.12.116', {
+        'source_urls': ['https://pypi.python.org/packages/source/b/botocore/'],
+    }),          
+    ('bottleneck', '1.2.1', {
+        'modulename': 'bottleneck',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/kwgoodman/bottleneck/archive/'],
+    }),
+     ('click', '7.0', {
+        'modulename': 'click',
+        'source_tmpl': '%(version)s.tar.gz',
+        'source_urls': ['https://github.com/pallets/click/archive/'],
+    }),      
+    ('click-plugins', '1.0.4', {
+        'source_urls': ['https://pypi.python.org/packages/source/c/click-plugins/'],
+    }),
+    ('cligj', '0.5.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/c/cligj/'],
+    }),          
+    ('cloudpickle', '0.8.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/c/cloudpickle/'],
+    }),
+    ('configobj', '5.0.6', {
+        'source_urls': ['https://pypi.python.org/packages/source/c/configobj/'],
+    }), 
+    ('docutils', '0.14', {
+        'source_urls': ['https://pypi.python.org/packages/source/d/docutils/'],
+    }),          
+    ('fiona', '1.8.6', {
+        'modulename': 'fiona',
+        'source_tmpl': '%(version)s.tar.gz',
+        'source_urls': ['https://github.com/Toblerity/Fiona/archive/'],
+    }),
+    ('geopandas', '0.4.1', {
+        'source_urls': ['https://pypi.python.org/packages/source/g/geopandas/'],
+    }),
+    ('jmespath', '0.9.4', {
+        'source_urls': ['https://pypi.python.org/packages/source/j/jmespath/'],
+    }),          
+    ('more-itertools', '5.0.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/m/more-itertools/'],
+    }),
+    ('motionless', '1.3.2', {
+        'source_urls': ['https://pypi.python.org/packages/source/m/motionless/'],
+    }),     
+    ('munch', '2.3.2', {
+        'source_urls': ['https://pypi.python.org/packages/source/m/munch/'],
+    }),
+    ('networkx', '2.2', {
+        'modulename': 'networkx',
+        'source_tmpl': 'networkx-%(version)s.tar.gz',
+        'source_urls': ['https://github.com/networkx/networkx/archive/'],
+    }),          
+    ('pathlib2', '2.3.3', {
+        'source_urls': ['https://pypi.python.org/packages/source/p/pathlib2/'],
+    }),
+    ('pluggy', '0.9.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/p/pluggy/'],
+    }),   
+    ('py', '1.8.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/p/py/'],
+    }),           
+    ('pytest', '4.3.1', {
+        'source_urls': ['https://pypi.python.org/packages/source/p/pytest/'],
+    }),   
+    ('python-utils', '2.3.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/p/python-utils/'],
+    }),
+    ('rasterio', '1.0.21', {
+        'source_urls': ['https://pypi.python.org/packages/source/r/rasterio/'],
+    }), 
+    ('s3transfer', '0.2.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/s/s3transfer/'],
+    }),   
+    ('scandir', '1.10.0', {
+        'source_urls': ['https://pypi.python.org/packages/source/s/scandir/'],
+    }),
+    ('snuggs', '1.4.3', {
+        'source_urls': ['https://pypi.python.org/packages/source/s/snuggs/'],
+    }),
+    ('xarray', '0.11.3', {
+        'source_urls': ['https://pypi.python.org/packages/source/x/xarray/'],
+    }),
+    ('py-expression-eval', '0.3.6', {
+        'modulename': 'py_expression_eval',
+        'source_tmpl': 'v%(version)s.tar.gz',
+        'source_urls': ['https://github.com/Axiacore/py-expression-eval/archive/'],
+    }),
+    ('PyWavelets', '1.0.2', {
+        'modulename': 'pywt',
+        'source_urls': ['https://pypi.python.org/packages/source/p/PyWavelets/'],
+    }),
+    ('attrs', '19.1.0', {
+        'modulename': 'attr',
+        'source_urls': ['https://pypi.python.org/packages/source/a/attrs/'],
+    }),
+    ('progressbar2', '3.39.3', {
+        'modulename': 'progressbar',
+        'source_urls': ['https://pypi.python.org/packages/source/p/progressbar2/'],
+    }),
+    ('scikit-image', '0.14.2', {
+        'modulename': 'skimage',
+        'source_urls': ['https://pypi.python.org/packages/source/s/scikit-image/'],
+    }),
+    ################################
+    ('futures', '3.2.0', {
+        'modulename': '__future__',
+        'source_urls': ['https://pypi.python.org/packages/source/f/futures/'],
+    }),
+    ('PyNaCl', '1.3.0', {
+        'modulename': 'nacl',
+        'source_urls': ['https://pypi.python.org/packages/source/p/PyNaCl/'],
+    }),
+    ################################
+    # R extension
+    ('ncdf4', '1.16', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/ncdf4',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+        'checksums': ['edd5731a805bbece3a8f6132c87c356deafc272351e1dd07256ca00574949253'],
+    }),
+    ('gdtools', '0.1.7', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/gdtools',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('leaflet', '2.0.2', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/leaflet',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('satellite', '1.0.1', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/satellite',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('sf', '0.7-3', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/sf',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('svglite', '1.2.1', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/svglite',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+    ('mapview', '2.6.3', {
+        'source_tmpl': '%(name)s_%(version)s.tar.gz',
+        'source_urls': [
+            'http://cran.r-project.org/src/contrib/Archive/mapview',
+            'http://cran.r-project.org/src/contrib/',
+            'http://cran.freestatistics.org/src/contrib',
+        ],
+    }),
+]
+
+sanity_check_paths = {
+    'files': ['sf/libs/sf.so'],
+    'dirs': [],
+}
+
+postinstallcmds = [
+    "cd %(installdir)s/bin && " +
+    'chmod 755 pip'
+]
+
+modextrapaths = {
+    'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
+    'PYTHONUSERBASE': '',
+    'R_LIBS': '',
+}
+
+moduleclass = 'numlib'

+ 52 - 0
foss-2018b/GObject-Introspection-1.54.1-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,52 @@
+easyblock = 'ConfigureMake'
+
+name = 'GObject-Introspection'
+version = '1.54.1'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://wiki.gnome.org/GObjectIntrospection/'
+description = """GObject introspection is a middleware layer between C
+ libraries (using GObject) and language bindings. The C library can be scanned
+ at compile time and generate a metadata file, in addition to the actual
+ native C library. Then at runtime, language bindings can read this
+ metadata and automatically provide bindings to call into the C library."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['b88ded5e5f064ab58a93aadecd6d58db2ec9d970648534c63807d4f9a7bb877e']
+
+builddependencies = [
+    ('Autotools', '20180311'),
+    ('flex', '2.6.4'),
+    ('Bison', '3.0.5'),
+    ('cairo', '1.14.12'),
+    ('pkg-config', '0.29.2'),
+]
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('util-linux', '2.32'),
+    ('GLib', '2.54.3'),
+    ('libffi', '3.2.1'),
+]
+
+preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true PYTHON=python3"
+
+# avoid using hard-coded path to 'python' in shebang of scripts
+buildopts = "PYTHON=python3"
+
+modextrapaths = {
+    'GI_TYPELIB_PATH': 'share',
+    'XDG_DATA_DIRS': 'share',
+}
+
+sanity_check_paths = {
+    'files': ['bin/g-ir-%s' % x for x in ['annotation-tool', 'compiler',
+                                          'generate', 'scanner']] +
+             ['lib/libgirepository-1.0.%s' % x for x in [SHLIB_EXT, 'a']],
+    'dirs': ['include', 'share']
+}
+
+moduleclass = 'devel'

+ 32 - 0
foss-2018b/GTK+-2.24.32-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,32 @@
+easyblock = 'ConfigureMake'
+
+name = 'GTK+'
+version = '2.24.32'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://developer.gnome.org/gtk+/stable/'
+description = """
+ The GTK+ 2 package contains libraries used for creating graphical user interfaces for applications.
+"""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e']
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+    ('pkg-config', '0.29.2'),
+]
+dependencies = [
+    ('Python', '3.6.6'),
+    ('ATK', '2.28.1', versionsuffix),
+    ('Gdk-Pixbuf', '2.36.12', versionsuffix),
+    ('Pango', '1.42.4', versionsuffix),
+    ('FriBidi', '1.0.5'),
+]
+
+configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "
+
+moduleclass = 'vis'

+ 33 - 0
foss-2018b/GTK+-3.24.7-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,33 @@
+easyblock = 'ConfigureMake'
+
+name = 'GTK+'
+version = '3.24.7'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://developer.gnome.org/gtk3/stable/'
+description = """
+  The GTK+ 3 package contains libraries used for creating graphical user interfaces for applications.
+"""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['378d327eeb24580fcbc941003de547b9']
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+    ('pkg-config', '0.29.2'),
+]
+dependencies = [
+    ('Python', '3.6.6'),
+    ('at-spi2-atk', '2.26.3'),
+    ('Gdk-Pixbuf', '2.36.12', versionsuffix),
+    ('Pango', '1.42.4', versionsuffix),
+    ('libepoxy', '1.5.2'),
+    ('FriBidi', '1.0.5'),
+]
+
+configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "
+
+moduleclass = 'vis'

+ 48 - 0
foss-2018b/Gdk-Pixbuf-2.36.12-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,48 @@
+easyblock = 'ConfigureMake'
+
+name = 'Gdk-Pixbuf'
+version = '2.36.12'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://developer.gnome.org/gdk-pixbuf/stable/'
+description = """
+ The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation.
+ It is used by GTK+ 2 and GTK+ 3 to load and manipulate images. In the past it
+ was distributed as part of GTK+ 2 but it was split off into a separate package
+ in preparation for the change to GTK+ 3.
+"""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+patches = ['Gdk-Pixbuf-2.36.10-disable-gio-sniffing.patch']
+checksums = [
+    'fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334',  # gdk-pixbuf-2.36.12.tar.xz
+    '840231db69ccc2a1335c4f29c305cdd0ba570254e779c2a274611aaff968878e',  # Gdk-Pixbuf-2.36.10-disable-gio-sniffing.patch
+]
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix)
+]
+dependencies = [
+    ('Python', '3.6.6'),
+    ('GLib', '2.54.3'),
+    ('libjpeg-turbo', '2.0.0'),
+    ('libpng', '1.6.34'),
+    ('LibTIFF', '4.0.9'),
+]
+
+configopts = "--disable-maintainer-mode --enable-debug=no --enable-introspection=yes "
+configopts += "--disable-Bsymbolic --without-gdiplus --enable-shared --enable-static"
+
+sanity_check_paths = {
+    'files': ['lib/libgdk_pixbuf-%(version_major)s.0.a', 'lib/libgdk_pixbuf-%%(version_major)s.0.%s' % SHLIB_EXT],
+    'dirs': ['bin', 'include/gdk-pixbuf-%(version_major)s.0', 'lib/gdk-pixbuf-%(version_major)s.0', 'share'],
+}
+
+modextrapaths = {
+    'XDG_DATA_DIRS': 'share',
+}
+
+moduleclass = 'vis'

+ 40 - 0
foss-2018b/HarfBuzz-2.2.0-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,40 @@
+easyblock = 'ConfigureMake'
+
+name = 'HarfBuzz'
+version = '2.2.0'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
+description = """HarfBuzz is an OpenType text shaping engine."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = ['http://www.freedesktop.org/software/harfbuzz/release/']
+sources = [SOURCELOWER_TAR_BZ2]
+checksums = ['b7ccfcbd56b970a709e8b9ea9fb46c922c606c2feef8f086fb6a8492e530f810']
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('GLib', '2.54.3'),
+    ('cairo', '1.14.12'),
+    ('freetype', '2.9.1'),
+]
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+    ('pkg-config', '0.29.2'),
+]
+
+configopts = "--enable-introspection=yes --with-gobject=yes --enable-static --enable-shared --with-cairo "
+
+modextrapaths = {
+    'GI_TYPELIB_PATH': 'share',
+    'XDG_DATA_DIRS': 'share',
+}
+
+sanity_check_paths = {
+    'files': ['lib/libharfbuzz.%s' % SHLIB_EXT, 'bin/hb-view'],
+    'dirs': []
+}
+
+moduleclass = 'vis'

+ 71 - 0
foss-2018b/Mesa-19.0.1-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,71 @@
+# Automatically converted from Mesa-17.2.4-intel-2017b.eb
+# Original message:
+# the purpose of the easyconfig is to build a Mesa for software rendering,
+# not hardware rendering. This means you want at least SSE4.2. We build:
+# - llvmpipe: the high-performance Gallium LLVM driver
+# - swr: Intel's OpenSWR
+# it will try to use the llvmpipe by default. It you want swr, do:
+# GALLIUM_DRIVER=swr
+
+easyblock = 'ConfigureMake'
+
+name = 'Mesa'
+version = '19.0.1'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'http://www.mesa3d.org/'
+description = """Mesa is an open-source implementation of the OpenGL specification -
+ a system for rendering interactive 3D graphics."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+# swr detects and builds parts specific for AVX and AVX2. If we use
+# -xHost, this always gets overwritten and will fail.
+toolchainopts = {'optarch': False}
+
+source_urls = [
+    'https://mesa.freedesktop.org/archive/',
+    'https://mesa.freedesktop.org/archive/%(version)s',
+    'ftp://ftp.freedesktop.org/pub/mesa/%(version)s',
+    'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s',
+]
+sources = [SOURCELOWER_TAR_XZ]
+
+builddependencies = [
+    ('flex', '2.6.4'),
+    ('Bison', '3.0.5'),
+    #('Meson', '0.48.1', versionsuffix),
+    ('Autotools', '20180311'),
+    ('pkg-config', '0.29.2'),
+    ('Mako', '1.0.7', versionsuffix),
+    ('libxml2', '2.9.8'),
+    ('expat', '2.2.5'),
+]
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('zlib', '1.2.11'),
+    ('nettle', '3.4'),
+    ('libdrm', '2.4.92'),
+    ('LLVM', '7.0.0'),
+    ('X11', '20180604'),
+]
+
+# GLU is not part anymore of Mesa package!
+configopts = " --disable-osmesa --enable-gallium-osmesa --enable-gallium-llvm --enable-glx --disable-dri"
+configopts += " --disable-gbm --disable-driglx-direct --with-gallium-drivers='swrast,swr' --disable-egl"
+configopts += " --with-osmesa-bits=32 --enable-texture-float --enable-llvm-shared-libs --enable-autotools"
+
+buildopts = 'V=1'
+
+sanity_check_paths = {
+    'files': ['lib/libGL.%s' % SHLIB_EXT, 'lib/libOSMesa.%s' % SHLIB_EXT,
+              'lib/libGLESv1_CM.%s' % SHLIB_EXT, 'lib/libGLESv2.%s' % SHLIB_EXT,
+              'include/GL/glext.h', 'include/GL/gl_mangle.h',
+              'include/GL/glx.h', 'include/GL/osmesa.h',
+              'include/GL/gl.h', 'include/GL/glxext.h',
+              'include/GL/glx_mangle.h', 'include/GLES/gl.h',
+              'include/GLES2/gl2.h', 'include/GLES3/gl3.h'],
+    'dirs': []
+}
+
+moduleclass = 'vis'

+ 38 - 0
foss-2018b/Pango-1.42.4-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,38 @@
+easyblock = 'ConfigureMake'
+
+name = 'Pango'
+version = '1.42.4'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'http://www.pango.org/'
+description = """Pango is a library for laying out and rendering of text, with an emphasis on internationalization.
+Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the
+context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d']
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('X11', '20180604'),
+    ('GLib', '2.54.3'),
+    ('cairo', '1.14.12'),
+    ('HarfBuzz', '2.2.0', versionsuffix),
+    ('FriBidi', '1.0.5'),
+]
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+    ('pkg-config', '0.29.2'),
+]
+
+configopts = "--disable-silent-rules --enable-introspection=yes --enable-static --enable-shared "
+
+modextrapaths = {
+    'XDG_DATA_DIRS': 'share',
+}
+
+moduleclass = 'vis'

+ 44 - 0
foss-2018b/PyGObject-3.28.3-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,44 @@
+easyblock = 'ConfigureMake'
+
+name = 'PyGObject'
+version = '3.28.3'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'http://www.pygtk.org/'
+description = """Python Bindings for GLib/GObject/GIO/GTK+"""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['3bac63c86bb963aa401f97859464aa90']
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('GLib', '2.54.3'),
+    ('GObject-Introspection', '1.54.1', versionsuffix),
+    ('PyCairo', '1.18.0', versionsuffix),
+]
+
+preconfigopts = "env PYTHON=python3"
+
+modextrapaths = {
+    'PYTHONPATH': [
+        'lib/python%(pyshortver)s/site-packages',
+        'lib/python%(pyshortver)s/site-packages/gtk-2.0',
+        'lib64/python%(pyshortver)s/site-packages',
+        'lib64/python%(pyshortver)s/site-packages/gtk-2.0',
+    ],
+}
+
+sanity_check_paths = {
+    'files': ['lib/python%(pyshortver)s/site-packages/gi/_gi_cairo.cpython-36m-x86_64-linux-gnu.so'],
+    'dirs': ['include/pygobject-3.0'],
+}
+
+sanity_check_commands = [
+    ('python3', "-c 'import gi'"),
+    ('python3', "-c 'from gi.repository import Gio'"),
+]
+
+moduleclass = 'vis'

+ 0 - 51
foss-2018b/PyGTK-2.24.0-foss-2018b-Python-3.6.6.eb

@@ -1,51 +0,0 @@
-easyblock = 'ConfigureMake'
-
-name = 'PyGTK'
-version = '2.24.0'
-versionsuffix = '-Python-%(pyver)s'
-
-homepage = 'http://www.pygtk.org/'
-description = """PyGTK lets you to easily create programs with a graphical user interface
- using the Python programming language."""
-
-toolchain = {'name': 'foss', 'version': '2018b'}
-
-source_urls = [PYPI_SOURCE]
-sources = [SOURCELOWER_TAR_BZ2]
-checksums = ['cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912']
-
-dependencies = [
-    ('Python', '2.7.15'),
-    ('GLib', '2.54.3'),
-    ('PyGObject', '2.28.7', versionsuffix),
-    ('GTK+', '2.24.32'),
-    ('ATK', '2.28.1'),
-    ('PyCairo', '1.18.0', versionsuffix),
-    ('libglade', '2.6.4'),
-]
-
-postinstallcmds = [
-    "sed -i s#'codegendir=${datadir}'#codegendir=$EBROOTPYGOBJECT/share# %(installdir)s/lib/pkgconfig/pygtk-2.0.pc",
-    "sed -i s#'exec_prefix=${prefix}'#exec_prefix=$EBROOTPYGOBJECT# %(installdir)s/bin/pygtk-codegen-2.0",
-]
-
-modextrapaths = {
-    'PYTHONPATH': [
-        'lib/python%(pyshortver)s/site-packages',
-        'lib64/python%(pyshortver)s/site-packages',
-        'lib/python%(pyshortver)s/site-packages/gtk-%(version_major)s.0',
-        'lib64/python%(pyshortver)s/site-packages/gtk-%(version_major)s.0',
-    ],
-}
-
-sanity_check_paths = {
-    'files': ['lib/pkgconfig/pygtk-%(version_major)s.0.pc'],
-    'dirs': ['lib/pygtk'],
-}
-
-sanity_check_commands = [
-    ('python', "-c 'import gtk'"),
-    ('python', "-c 'import gtk.glade'"),
-]
-
-moduleclass = 'vis'

+ 1 - 1
foss-2018b/R-3.5.1-foss-2018b-Python-3.6.6.eb

@@ -17,7 +17,7 @@ builddependencies = [
 dependencies = [
     ('Python', '3.6.6'),
     ('X11', '20180604'),
-    ('Mesa', '18.1.1', versionsuffix),
+    ('Mesa', '19.0.1', versionsuffix),
     ('libGLU', '9.0.0', versionsuffix),
     ('cairo', '1.14.12'),
     ('libreadline', '7.0'),

+ 30 - 0
foss-2018b/at-spi2-atk-2.26.3-foss-2018b.eb

@@ -0,0 +1,30 @@
+easyblock = 'MesonNinja'
+
+name = 'at-spi2-atk'
+version = '2.26.3'
+
+homepage = 'https://github.com/GNOME/at-spi2-atk'
+description = "GTK+ module for bridging AT-SPI to ATK"
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['ca1a3ea03b6fe06402cebce6fc052b0526e8f8cc6e363737dd648f97eb2ce9c7']
+
+builddependencies = [
+    ('Meson', '0.48.1', '-Python-3.6.6'),
+    ('Ninja', '1.8.2'),
+]
+
+dependencies = [
+    ('at-spi2-core', '2.32.0'),
+    ('ATK', '2.28.1', '-Python-3.6.6'),
+]
+
+sanity_check_paths = {
+    'files': ['lib64/libatk-bridge-2.0.so'],
+    'dirs': ['include/at-spi2-atk'],
+}
+
+moduleclass = 'lib'

+ 34 - 0
foss-2018b/at-spi2-core-2.32.0-foss-2018b.eb

@@ -0,0 +1,34 @@
+easyblock = 'MesonNinja'
+
+name = 'at-spi2-core'
+version = '2.32.0'
+
+homepage = 'https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/'
+description = "At-Spi2 is a protocol over DBus, toolkit widgets use it to provide their content to screen readers such as Orca."
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = [FTPGNOME_SOURCE]
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['57269004541646c4c5cf0bcb7c99bb5b']
+
+builddependencies = [
+    ('GObject-Introspection', '1.54.1', '-Python-3.6.6'),
+    ('Meson', '0.48.1', '-Python-3.6.6'),
+    ('Ninja', '1.8.2'),
+]
+
+dependencies = [
+    ('X11', '20180604'),
+    ('DBus', '1.13.6'),
+    ('GLib', '2.54.3'),
+]
+
+#configopts = '-Dglx=yes -Degl=no'
+
+sanity_check_paths = {
+    'files': ['lib64/libatspi.so'],
+    'dirs': ['include/at-spi-2.0'],
+}
+
+moduleclass = 'lib'

+ 1 - 1
foss-2018b/libGLU-9.0.0-foss-2018b-Python-3.6.6.eb

@@ -16,7 +16,7 @@ checksums = ['1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12']
 
 dependencies = [
     ('Python', '3.6.6'),
-    ('Mesa', '18.1.1', versionsuffix),
+    ('Mesa', '19.0.1', versionsuffix),
 ]
 
 sanity_check_paths = {

+ 31 - 0
foss-2018b/libepoxy-1.5.2-foss-2018b.eb

@@ -0,0 +1,31 @@
+easyblock = 'MesonNinja'
+
+name = 'libepoxy'
+version = '1.5.2'
+
+homepage = 'https://github.com/anholt/libepoxy/'
+description = "Epoxy is a library for handling OpenGL function pointer management for you."
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = ['https://github.com/anholt/%(name)s/releases/download/%(version)s/']
+sources = [SOURCELOWER_TAR_XZ]
+checksums = ['4a6b9e581da229dee74c2263c84b1eca']
+
+builddependencies = [
+    ('Meson', '0.48.1', '-Python-3.6.6'),
+    ('Ninja', '1.8.2'),
+]
+
+dependencies = [
+    ('Mesa', '19.0.1', '-Python-3.6.6'),
+]
+
+configopts = '-Dglx=yes -Degl=no'
+
+sanity_check_paths = {
+    'files': ['lib64/libepoxy.so'],
+    'dirs': ['include/epoxy'],
+}
+
+moduleclass = 'lib'

+ 30 - 0
foss-2018b/libglade-2.6.4-foss-2018b-Python-3.6.6.eb

@@ -0,0 +1,30 @@
+easyblock = 'ConfigureMake'
+
+name = 'libglade'
+version = '2.6.4'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://developer.gnome.org/libglade/'
+description = """Libglade is a library for constructing user interfaces dynamically from XML descriptions."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = ['http://ftp.gnome.org/pub/GNOME/sources/libglade/%(version_major_minor)s']
+sources = [SOURCE_TAR_GZ]
+checksums = ['c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3']
+
+dependencies = [
+    ('Python', '3.6.6'),
+    ('ATK', '2.28.1', versionsuffix),
+    ('GTK+', '2.24.32', versionsuffix),
+    ('GLib', '2.54.3'),
+    ('libxml2', '2.9.8'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/libglade-convert', 'lib/libglade-2.0.a', 'lib/libglade-2.0.%s' % SHLIB_EXT,
+              'lib/pkgconfig/libglade-2.0.pc'],
+    'dirs': ['include/libglade-2.0/glade', 'share'],
+}
+
+moduleclass = 'lib'

+ 1 - 1
noarch/MATLAB-UCL-2017a.eb

@@ -18,6 +18,6 @@ import os
 license_server = os.getenv('EB_MATLAB_LICENSE_SERVER', 'matlab-lic-one.sipr.ucl.ac.be')
 license_server_port = os.getenv('EB_MATLAB_LICENSE_SERVER_PORT', '27000')
 key = os.getenv('EB_MATLAB_KEY', '23627-03737-21424-33859-38222-52037-11304-55330-60141-42965-56522-14541')
-tmpdir = os.getenv('TMPDIR', '/truetmp')
+#tmpdir = os.getenv('TMPDIR', '/truetmp')
 
 moduleclass = 'math'