# IT4Innovations 2018

name = 'Boost'
version = '1.70.0'
versionsuffix = '-Py-3.6'

homepage = 'http://www.boost.org/'
description = """Boost provides free peer-reviewed portable C++ source libraries."""

toolchain = {'name': 'intel', 'version': '2018a'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = [SOURCEFORGE_SOURCE]

sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
patches = ['Boost-1.65.1_fix-Python3.patch']

dependencies = [
    ('bzip2', '1.0.6', '', True),
    ('zlib', '1.2.11', '', True),
    ('Py', '3.6', '', True)
]

#configopts = '--with-python=$EBROOTPYTHON/bin/python'

# also build boost_mpi
boost_mpi = True

moduleclass = 'devel'