# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild # Author: Bart Verleye # Center for eResearch, Auckland easyblock = 'ConfigureMakePythonPackage' name = 'SIP' version = '4.19.2' versionsuffix = '-Python-%(pyver)s' 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': 'intel', 'version': '2018'} sources = [SOURCELOWER_TAR_GZ] source_urls = ['http://sourceforge.net/projects/pyqt/files/sip/sip-%(version)s'] dependencies = [('Python', '2.7.13')] configopts = "configure.py --bindir %(installdir)s/bin --incdir %(installdir)s/include " configopts += "--destdir %(installdir)s/lib/python%(pyshortver)s/site-packages" sanity_check_paths = { 'files': ['bin/sip', 'include/sip.h'] + ['lib/python%%(pyshortver)s/site-packages/%s' % x for x in ['sip.%s' % SHLIB_EXT, 'sipconfig.py', 'sipdistutils.py']], 'dirs': [], } moduleclass = 'lang'