easyblock = 'ConfigureMake' name = 'GEOS' version = '3.6.1' versionsuffix = '-Python-%(pyver)s' homepage = 'http://trac.osgeo.org/geos' description = """GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)""" toolchain = {'name': 'intel', 'version': '2017.02'} source_urls = ['http://download.osgeo.org/geos/'] sources = [SOURCELOWER_TAR_BZ2] patches = ['GEOS-%(version)s_fix-Python3.patch'] dependencies = [('Python', '3.6.1')] builddependencies = [('SWIG', '3.0.12', versionsuffix)] configopts = '--enable-python' modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'} sanity_check_paths = { 'files': ['bin/geos-config', 'lib/libgeos.%s' % SHLIB_EXT, 'lib/libgeos.a', 'include/geos.h'], 'dirs': ['lib/python%(pyshortver)s/site-packages/geos'], } moduleclass = 'math'