easyblock = 'PythonPackage'

name = 'bibtexparser'
version = '0.6.0'

homepage = 'https://github.com/sciunto-org/python-bibtexparser'
description = """Bibtex parser in Python 2.7 and 3.x"""

toolchain = {'name': 'foss', 'version': '2015a'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = 'Python'
pyver = '2.7.9'
versionsuffix = '-%s-%s' % (python, pyver)

dependencies = [(python, pyver)]

pyshortver = '.'.join(pyver.split('.')[:2])
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/bibtexparser' % pyshortver],
}

moduleclass = 'tools'
