easyblock = "PythonPackage"

name = "stemming"
version = "1.0"

homepage = "https://pypi.python.org/pypi/stemming/"
description = """Python implementations of the Porter, Porter2, Paice-Husk, and Lovins stemming algorithms for English."""

toolchain = {'name': 'ictce', 'version': '5.5.0'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = "Python"
pythonversion = "2.7.6"

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

dependencies = [(python, pythonversion)]

py_short_ver = ".".join(pythonversion.split(".")[0:2])
pylibdir = "lib/python%s/site-packages/%s" % (py_short_ver, name)

sanity_check_paths = {
    'files': [
        ("%s-%%(version)s-py%s.egg" %
         (pylibdir, py_short_ver), "%s-%%(version)s-py%s-linux-x86_64.egg" %
         (pylibdir, py_short_ver))], 'dirs': [], }

moduleclass = 'lib'
