easyblock = 'ConfigureMake'

name = 'xcb-proto'
version = '1.11'

homepage = 'http://xcb.freedesktop.org/'
description = """The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint,
latency hiding, direct access to the protocol, improved threading support, and extensibility."""

toolchain = {'name': 'intel', 'version': '2015b'}

source_urls = ['http://xcb.freedesktop.org/dist/']
sources = [SOURCELOWER_TAR_GZ]

local_python = 'Python'
local_pyver = '2.7.9'
versionsuffix = '-%s-%s' % (local_python, local_pyver)
dependencies = [(local_python, local_pyver)]

local_pyshortver = '.'.join(local_pyver.split('.')[0:2])

sanity_check_paths = {
    'files': ['lib/pkgconfig/xcb-proto.pc'],
    'dirs': ['lib/local_python%s/site-packages/xcbgen' % local_pyshortver]
}

moduleclass = 'devel'
