name = 'Boost'
version = '1.65.1'
versionsuffix = '-Python-%(pyver)s'

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

toolchain = {'name': 'intel', 'version': '2017b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
patches = ['Boost-%(version)s_fix-Python3.patch']
checksums = [
    'a13de2c8fbad635e6ba9c8f8714a0e6b4264b60a29b964b940a22554705b6b60',  # boost_1_65_1.tar.gz
    '5585f98fb67425ec465dcbe2878af046ccd2729a8cdb802acf5d71cfa4022c26',  # Boost-1.65.1_fix-Python3.patch
]

dependencies = [
    ('bzip2', '1.0.6'),
    ('zlib', '1.2.11'),
    ('Python', '3.6.3'),
]

# also build boost_mpi
boost_mpi = True

moduleclass = 'devel'
