# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild

easyblock = 'MakeCp'

name = 'GffCompare'
version = '0.10.1'

homepage = 'https://github.com/gpertea/%(namelower)s'
description = """GffCompare provides classification and reference annotation mapping and
 matching statistics for RNA-Seq assemblies (transfrags) or other generic GFF/GTF files."""

toolchain = {'name': 'foss', 'version': '2016b'}
toolchainopts = {'pic': True}

source_urls = [
    'https://github.com/gpertea/%(namelower)s/archive/',
    'https://github.com/gpertea/gclib/archive/',
]
sources = [
    'v%(version)s.tar.gz',
    {'filename': 'gclib-20171013.tar.gz', 'download_filename': '305b7f8.tar.gz'},
]
checksums = [
    '32912f4d1394294203e055b2c1bb33a051d8a069d1046d79f543d1a028d7128d',
    'e561f6782e3ac8817e6789d62aae19fc497f25a882fdd6f2f938938fe50b336b',
]

prebuildopts = "mv ../gclib-* ../gclib && "

files_to_copy = ['%(namelower)s', 'LICENSE', 'README.md']

modextrapaths = {'PATH': ''}

sanity_check_paths = {
    'files': ['%(namelower)s'],
    'dirs': []
}

sanity_check_commands = ['%(namelower)s -v']

moduleclass = 'bio'
