easyblock = "PythonPackage"

name = 'cutadapt'
version = '1.5'

homepage = 'http://code.google.com/p/cutadapt/'
description = """ cutadapt removes adapter sequences
 from high-throughput sequencing data. This is usually
 necessary when the read length of the sequencing machine
 is longer than the molecule that is sequenced, for
 example when sequencing microRNAs.  """

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['http://cutadapt.googlecode.com/files/']
sources = [SOURCELOWER_TAR_GZ]

python = 'Python'
pyver = '2.7.10'
pyshortver = '.'.join(pyver.split('.')[:2])

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

dependencies = [
    (python, pyver),
]

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

moduleclass = 'bio'
