easyblock = "PythonPackage"

name = 'MySQLdb'
version = '1.2.5'

homepage = 'https://pypi.python.org/pypi/MySQL-python/'

description = """MySQLdb is an interface to the popular MySQL database server for Python."""

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

source_urls = ['https://pypi.python.org/packages/source/M/MySQL-python/']
sources = ['MySQL-python-%(version)s.zip']
checksums = ['654f75b302db6ed8dc5a898c625e030c']

python = 'Python'
pythonversion = '2.7.8'
pyshortver = '.'.join(pythonversion.split('.')[:2])

versionsuffix = "-%s-%s" % (python, pythonversion)

dependencies = [
    (python, pythonversion),
    ('MySQL', '5.6.20', '-clientonly'),
]

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

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

moduleclass = 'data'
