easyblock = "PythonPackage"

name = 'Pyke'
version = '1.1.1'

homepage = 'http://sourceforge.net/projects/pyke/'
description = """Pyke introduces a form of Logic Programming (inspired by Prolog) 
to the Python community by providing a knowledge-based inference engine 
(expert system) written in 100% Python."""

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

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_ZIP]

python = 'Python'
pyver = '2.7.3'

versionsuffix = "-%s-%s" % (python, pyver)

dependencies = [
    (python, pyver),
    ('numpy', '1.6.2', versionsuffix),
    ('scipy', '0.11.0', versionsuffix),
]

pyshortver = '.'.join(pyver.split('.')[:2])
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/pyke' % pyshortver],
}

moduleclass = 'data'
