easyblock = 'PythonPackage'

name = 'prompt-toolkit'
version = '1.0.3'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/jonathanslenders/python-prompt-toolkit'
description = """prompt_toolkit is a Python library for building powerful interactive command lines and terminal applications."""

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

source_urls = [
    'https://pypi.python.org/packages/4d/1f/5f5a3831006a1e9799d418e32d02c01529d6fa292851e381bd7df4908079/']
sources = ['prompt_toolkit-%(version)s-py2-none-any.whl']

dependencies = [
    ('Python', '2.7.11'),
    ('wcwidth', '0.1.7', versionsuffix),
]
builddependencies = [
    ('pip', '8.1.2', versionsuffix),
]

use_pip = True
unpack_sources = False

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

options = {'modulename': 'prompt_toolkit'}

moduleclass = 'lib'
