easyblock = 'PythonPackage'

name = 'lxml'
version = '3.5.0'

homepage = 'http://lxml.de/'
description = """The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt."""

toolchain = {'name': 'intel', 'version': '2016a'}

source_urls = ['http://lxml.de/files/']
sources = [SOURCE_TGZ]

pyver = '2.7.11'
pyshortver = '.'.join(pyver.split('.')[:2])

versionsuffix = '-Python-%s' % pyver

dependencies = [
    ('Python', pyver),
    ('libxml2', '2.9.3', versionsuffix),
    ('libxslt', '1.1.28', versionsuffix),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages' % pyshortver],
}

moduleclass = 'lib'
