# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild # Author: Bart Verleye # Center for eResearch, Auckland easyblock = 'ConfigureMakePythonPackage' name = 'PyQt' version = '4.11.3' homepage = 'http://www.riverbankcomputing.co.uk/software/pyqt' description = """PyQt is a set of Python v2 and v3 bindings for Digia's Qt application framework.""" toolchain = {'name': 'foss', 'version': '2015g'} sources = ['%(name)s-x11-gpl-%(version)s.tar.gz'] source_urls = ['http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-%(version)s'] python = 'Python' pyver = '2.7.9' pythonshortver = '.'.join(pyver.split('.')[:2]) versionsuffix = '-%s-%s' % (python, pyver) dependencies = [ (python, pyver), ('SIP', '4.16.4', versionsuffix), ('Qt', '4.8.6'), ] configopts = "configure-ng.py --confirm-license" configopts += " --destdir=%%(installdir)s/lib/python%s/site-packages " % pythonshortver configopts += " --no-sip-files" options = {'modulename': 'PyQt4'} modextrapaths = {'PYTHONPATH': 'lib/python%s/site-packages' % pythonshortver} sanity_check_paths = { 'files': ['lib/python2.7/site-packages/PyQt4/Qt.so'], 'dirs': [], } moduleclass = 'vis'