easyblock = "PythonPackage"

name = 'HTSeq'
version = '0.5.4p5'

homepage = 'http://www-huber.embl.de/users/anders/HTSeq/'
description = """A framework to process and analyze data from high-throughput sequencing (HTS) assays"""

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

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = 'Python'
pythonver = '2.7.6'
pyshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)
eggname = '%%(name)s-%%(version)s-py%s-linux-x86_64.egg' % pyshortver

dependencies = [(python, pythonver)]

sanity_check_paths = {
    'files': ["bin/htseq-count", "bin/htseq-qa"],
    'dirs': ["lib/python%s/site-packages/%s" % (pyshortver, eggname)],
}

options = {'modulename': '%(name)s'}

moduleclass = 'data'
