easyblock = 'PythonPackage'

name = 'pygccxml'
version = '20160706'
commit_id = '648e8da'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://pypi.python.org/pypi/pygccxml'
description = """Python package for easy C++ declarations navigation."""

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

source_urls = ['https://github.com/gccxml/pygccxml/archive/']
sources = ['%s.tar.gz' % commit_id]

dependencies = [
    ('Python', '3.5.1'),
    ('CastXML', '20160617'),
]

use_pip = True

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

options = {'modulename': '%(name)s'}

moduleclass = 'tools'
