easyblock = "PythonPackage"

name = 'CVXOPT'
version = '1.1.5'

homepage = 'http://abel.ee.ucla.edu/cvxopt/'
description = """CVXOPT is a free software package for convex optimization based on the Python programming language.
 Its main purpose is to make the development of software for convex optimization applications straightforward
 by building on Python's extensive standard library and on the strengths of Python as a high-level programming language."""


toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = ['http://abel.ee.ucla.edu/src/']
sources = [SOURCELOWER_TAR_GZ]

patches = ['CVXOPT-blas-lapack.patch']

local_python = 'Python'
local_pythonver = '2.7.3'
local_pythonshortver = '.'.join(local_pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (local_python, local_pythonver)

dependencies = [
    (local_python, local_pythonver),
]

start_dir = 'src'

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

moduleclass = 'math'
