# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Pablo Escobar Lopez
# sciCORE - University of Basel
# SIB Swiss Institute of Bioinformatics 
# 0.9.1.4:
# Modified by: Adam Huffman
# The Francis Crick Institute

easyblock = 'PythonPackage'

name = 'Pysam'
version = '0.12.0.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/pysam-developers/pysam'
description = """Pysam is a python module for reading and manipulating Samfiles. 
 It's a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix."""

toolchain = {'name': 'intel', 'version': '2017b'}

source_urls = ['https://github.com/pysam-developers/pysam/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['0abea22a0f97f8d355570062d4e5ab99784701ed01acf4bf6f617974b453256e']

dependencies = [
    ('Python', '2.7.14'),
    ('ncurses', '6.0'),
    ('cURL', '7.56.0'),
]

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

moduleclass = 'bio'
