# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Pablo Escobar Lopez
# sciCORE - University of Basel
# SIB Swiss Institute of Bioinformatics

easyblock = 'MakeCp'

name = 'BayeScEnv'
version = '1.1'

homepage = 'https://github.com/devillemereuil/bayescenv'
description = """BayeScEnv is a Fst-based, genome-scan method that uses environmental variables to detect
local adaptation."""

toolchain = {'name': 'foss', 'version': '2016a'}
toolchainopts = {'openmp': True}

source_urls = ['https://github.com/devillemereuil/bayescenv/archive/']
sources = ['v%(version)s.tar.gz']

start_dir = 'source'

files_to_copy = [(['source/bayescenv'], 'bin'), 'test',
                 'COPYING', 'README.md', 'ChangeLog']

parallel = 1

sanity_check_paths = {
    'files': ['bin/bayescenv'],
    'dirs': [],
}

moduleclass = 'bio'
