name = 'QScintilla'
version = '2.9.1'

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

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

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

sources = ['%(name)s-gpl-%(version)s.tar.gz']

preconfigopts = "cd Qt4Qt5 && "

prebuildopts = "cd Qt4Qt5 && "

preinstallopts = "cd Qt4Qt5 && "

###### WARNING ###################
#
# Missing Python binding compilation!
# For now you have to manually go to the Python source sundirectory
# and do: python configure.py && make
# and copy Qsci.so to the PyQt Python lib /apps/all/PyQt/4.11.4-foss-2015g-Python-2.7.9/lib/python2.7/site-packages/PyQt4/
#
##################################

builddependencies = [('Qt', '4.8.6')]

sanity_check_paths = {
    'files': ['$EBROOTQT/lib/libqscintilla2.so'],
    'dirs': [],
}

moduleclass = 'lib'
