name = 'OpenBabel'
version = '2.3.2'

homepage = 'http://openbabel.org'
description = """Open Babel is a chemical toolbox designed to speak the many
 languages of chemical data. It's an open, collaborative project allowing anyone
 to search, convert, analyze, or store data from molecular modeling, chemistry,
 solid-state materials, biochemistry, or related areas."""

toolchain = {'name': 'ictce', 'version': '5.5.0'}
toolchainopts = {'optarch': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

patches = [
    'OpenBabel-%(version)s-use-xHost.patch',
    'OpenBabel-%(version)s-fix-link-path-tests.patch',
    'OpenBabel-%(version)s-ignore-failed-test.patch',
]

builddependencies = [('CMake', '2.8.12')]

python = "Python"
pythonversion = '2.7.5'
pythonshortversion = ".".join(pythonversion.split(".")[:-1])

versionsuffix = "-%s-%s" % (python, pythonversion)

dependencies = [
    (python, pythonversion),
    ('zlib', '1.2.8'),
    ('libxml2', '2.9.1'),
    ('Eigen', '3.1.4'),
]

runtest = 'test'

moduleclass = 'chem'
