easyblock = 'PythonPackage'

name = 'pyplusplus'
version = '20160707'
local_commit_id = '2c6c05b7a7d2'
versionsuffix = '-Python-%(local_pyver)s'

homepage = 'https://bitbucket.org/ompl/pyplusplus'
description = """Py++ is a code generator for Boost.Python that simplifies
 writing Python bindings of a C/C++ library
 The tool is implemented as a Python module which is controlled by a user script."""

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

source_urls = ['https://bitbucket.org/ompl/pyplusplus/get/']
sources = ['%s.zip' % local_commit_id]

builddependencies = [('pip', '8.1.2', versionsuffix)]

dependencies = [
    ('Python', '2.7.11'),
    ('pygccxml', '20160706', '-Python-%(local_pyver)s'),
]

use_pip = True

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

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

moduleclass = 'tools'
