# IT4Innovations 2018

easyblock = 'ConfigureMakePythonPackage'

name = 'PyQt5'
version = '5.10.1'

homepage = 'http://www.riverbankcomputing.co.uk/software/pyqt'
description = 'PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company.'

toolchain = {'name': 'Py', 'version': '3.6'}

source_urls = [
    'http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%(version)s']
sources = ['%(name)s_gpl-%(version)s.tar.gz']

dependencies = [
    ('SIP', '4.19.8'),
    ('Qt5', '5.11.1', '', True),
]

configopts = "configure.py --confirm-license"
configopts += " --destdir=%(installdir)s/lib/python3.6/site-packages "
configopts += " --sipdir=%(installdir)s/share/sip/PyQt%(version_major)s"

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

modextrapaths = {'PYTHONPATH': 'lib/python3.6/site-packages'}

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

moduleclass = 'python'
