easyblock = 'RPackage'

name = 'rgeos'
version = '0.3-17'
versionsuffix = '-R-%(rver)s'

homepage = 'https://cran.r-project.org/web/packages/rgeos/'
description = """R interface to Geometry Engine - Open Source (GEOS) using the C API for topology operations
 on geometries"""

toolchain = {'name': 'intel', 'version': '2016a'}

source_urls = ['https://cran.r-project.org/src/contrib/']
sources = ['%(name)s_%(version)s.tar.gz']

dependencies = [
    ('R', '3.2.3'),
    ('GEOS', '3.5.0', '-Python-2.7.11'),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['%(namelower)s'],
}

moduleclass = 'geo'
