easyblock = "PythonPackage"

name = 'Whoosh'
version = '2.7.0'

homepage = 'https://pypi.local_python.org/pypi/Whoosh/'
description = """Fast, pure-Python full text indexing,
search, and spell checking library."""

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

local_python = "Python"
local_pyver = '2.7.3'
local_pyshortver = ".".join(local_pyver.split(".")[:-1])

versionsuffix = "-%s-%s" % (local_python, local_pyver)

dependencies = [
    (local_python, local_pyver),
    ('numpy', '1.6.2', versionsuffix),
    ('scipy', '0.11.0', versionsuffix),
]

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

moduleclass = 'lib'
