easyblock = 'PythonPackage'

name = 'PLY'
version = '3.8'

homepage = "http://www.dabeaz.com/ply/"
description = """PLY is yet another implementation of lex and yacc for Python."""

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

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

pyver = '2.7.11'

versionsuffix = "-Python-%s" % pyver

dependencies = [('Python', pyver)]

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

moduleclass = 'lib'
