easyblock = 'PythonPackage'

name = 'PyGTS'
version = '0.3.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://sourceforge.net/projects/pygts/'
description = """ PyGTS is a python package used to construct, manipulate, 
 and perform computations on triangulated surfaces. 
 It is a hand-crafted and pythonic binding for the GNU Triangulated Surface (GTS) Library. """

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

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('Python', '2.7.11'),
    ('GLib', '2.48.0'),
    ('GTS' ,'0.7.6'),
]

options = {'modulename': 'gts'}

sanity_check_paths = {
    'files': ['lib/python%%(pyshortver)s/site-packages/gts/_gts.%s' % SHLIB_EXT],
    'dirs':[],
}

moduleclass = 'vis'
