easyblock = "PythonPackage"

name = "stemming"
version = "1.0"

homepage = "https://pypi.local_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]

local_python = "Python"
local_pythonversion = "2.7.6"

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

dependencies = [(local_python, local_pythonversion)]

local_py_short_ver = ".".join(local_pythonversion.split(".")[0:2])
local_pylibdir = "lib/local_python%s/site-packages/%s" % (local_py_short_ver, name)

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

moduleclass = 'lib'
