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.""" # even though xcb-proto is installed with configure-make-make install, nothing is actually built; # only .py files are installed using Python, and some .xlm flies copied, so OK to use dummy toolchain toolchain = {'name': 'dummy', 'version': 'dummy'} source_urls = ['http://xcb.freedesktop.org/dist/'] sources = [SOURCELOWER_TAR_GZ] allow_system_deps = [('Python', SYS_PYTHON_VERSION)] pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2]) sanity_check_paths = { 'files': ['lib/pkgconfig/xcb-proto.pc'], 'dirs': ['lib/python%s/site-packages/xcbgen' % pyshortver] } moduleclass = 'devel'