name = 'Python'
version = '3.5.2'

homepage = 'http://python.org/'
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."

toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}

numpyversion = '1.10.4'
scipyversion = '0.17.0'

source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]

# python needs bzip2 to build the bz2 package
dependencies = [
    ('bzip2', '1.0.6'),
    ('zlib', '1.2.8'),
    ('libreadline', '6.3'),
    ('ncurses', '5.9'),
    ('SQLite', '3.8.8.1'),
    ('Tk', '8.6.3'),
    ('GMP', '6.0.0a'),
    ('XZ', '5.2.2'),
#   ('OpenSSL', '1.0.1q'),  # OS dependency should be preferred if the os version is more recent then this version, it's
#   nice to have an up to date openssl for security reasons
]

osdependencies = [('openssl-devel', 'libssl-dev')]

# order is important!
# package versions updated Feb 25th 2016
exts_list = [
    ('setuptools', '20.1.1', {
        'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
    }),
    ('pip', '8.0.2', {
        'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
    }),
    ('nose', '1.3.7', {
        'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
    }),
#    ('numpy', numpyversion, {
#        'source_urls': ['https://pypi.python.org/packages/source/n/numpy/'],
#    }),
#    ('scipy', scipyversion, {
#        'source_urls': ['https://pypi.python.org/packages/source/s/scipy/'],
#    }),
#    ('blist', '1.3.6', {
#        'source_urls': ['https://pypi.python.org/packages/source/b/blist/'],
#    }),
#    ('mpi4py', '2.0.0', {
#        'source_urls': ['http://bitbucket.org/mpi4py/mpi4py/downloads/'],
#    }),
#    ('paycheck', '1.0.2', {
#        'source_urls': ['https://pypi.python.org/packages/source/p/paycheck/'],
#        'patches': [
#            'paycheck-1.0.2_setup-open-README-utf8.patch',
#        ],
#    }),
#    ('pbr', '1.8.1', {
#        'source_urls': ['https://pypi.python.org/packages/source/p/pbr/'],
#    }),
#    ('lockfile', '0.12.2', {
#        'source_urls': ['https://pypi.python.org/packages/source/l/lockfile/'],
#    }),
#    ('Cython', '0.23.4', {
#        'source_urls': ['http://www.cython.org/release/'],
#    }),
#    ('six', '1.10.0', {
#        'source_urls': ['https://pypi.python.org/packages/source/s/six/'],
#    }),
#    ('dateutil', '2.4.2', {
#        'source_tmpl': 'python-%(name)s-%(version)s.tar.gz',
#        'source_urls': ['https://pypi.python.org/packages/source/p/python-dateutil/'],
#    }),
#    ('deap', '1.0.2', {
#        'source_tmpl': '%(name)s-%(version)s.post2.tar.gz',
#        'source_urls': ['https://pypi.python.org/packages/source/d/deap/'],
#        'patches': [
#            'deap-1.0.2_setup-open-README-utf8.patch',
#        ],
#    }),
#    ('decorator', '4.0.9', {
#        'source_urls': ['https://pypi.python.org/packages/source/d/decorator/'],
#    }),
#    ('arff', '2.1.0', {
#        'source_tmpl': 'liac-%(name)s-%(version)s.zip',
#        'source_urls': ['https://pypi.python.org/packages/source/l/liac-arff/'],
#    }),
#    ('pycrypto', '2.6.1', {
#        'modulename': 'Crypto',
#        'source_urls': ['http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/'],
#    }),
#    ('ecdsa', '0.13', {
#        'source_urls': ['https://pypi.python.org/packages/source/e/ecdsa/'],
#    }),
#    ('paramiko', '1.16.0', {
#        'source_urls': ['https://pypi.python.org/packages/source/p/paramiko/'],
#   }),
#    ('pyparsing', '2.1.0', {
#        'source_urls': ['https://pypi.python.org/packages/source/p/pyparsing/'],
#    }),
#    ('netifaces', '0.10.4', {
#        'source_urls': ['https://pypi.python.org/packages/source/n/netifaces'],
#    }),
#    ('netaddr', '0.7.18', {
#        'source_urls': ['https://pypi.python.org/packages/source/n/netaddr'],
#    }),
#    ('pandas', '0.17.1', {
#        'source_urls': ['https://pypi.python.org/packages/source/p/pandas'],
#    }),
]

moduleclass = 'lang'
