name = 'QScintilla'
version = '2.10'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://www.riverbankcomputing.com/software/qscintilla'
description = "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control"

toolchain = {'name': 'intel', 'version': '2016b'}
toolchainopts = {'pic': True, 'cstd': 'c++11'}

source_urls = ['https://sourceforge.net/projects/pyqt/files/%(name)s%(version_major)s/QScintilla-%(version)s/']
sources = ['QScintilla_gpl-%(version)s.tar.gz']

patches = ['QScintilla-%(version)s_fix-link-python-bindings.patch']

dependencies = [
    ('Python', '2.7.12'),
    ('PyQt', '4.12', versionsuffix),
]

moduleclass = 'vis'
