# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Bart Verleye
# Center for eResearch, Auckland
easyblock = 'ConfigureMakePythonPackage'

name = 'SIP'
version = '4.16.4'

homepage = 'http://www.riverbankcomputing.com/software/sip/'
description = """SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries."""

toolchain = {'name': 'foss', 'version': '2015g'} 

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://sourceforge.net/projects/pyqt/files/sip/sip-%(version)s']

python = 'Python'
pyver = '2.7.9'
versionsuffix = '-%s-%s' % (python, pyver)

dependencies = [(python, pyver)]

configopts = "configure.py"

skipsteps = ['sanitycheck']

python_siteconfig_path = "$EBROOTPYTHON/site-packages"

sanity_check_paths = {
    'files': ['/apps/all/Python/2.7.9-foss-2015g/lib/python2.7/site-packages/sipconfig.py'],
    'dirs': [],
}

moduleclass = 'lang'
