easyblock = 'PythonPackage'

name = 'PyFFmpeg'
version = '2.1beta'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/mhaller/pyffmpeg'
description = """Python FFmpeg wrapper"""

toolchain = {'name': 'intel', 'version': '2016a'}
toolchainopts = {'usempi': True}

source_urls = ['https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyffmpeg/']
sources = [SOURCELOWER_TAR_GZ]

patches = [
    'PyFFmpeg-%(version)s_ffmpegpath.patch',
    'PyFFmpeg-%(version)s_Cython-fixes.patch',
]

dependencies = [
    ('Python', '2.7.11'),
    ('FFmpeg', '0.10.16'),
]

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

options = {'modulename': '%(namelower)s'}

moduleclass = 'vis'
