# IT4Innovations 2019

easyblock = "Rpm"

name = 'Python'
version = 'system'

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

toolchain = SYSTEM
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}

source_urls = ['http://mirror.it4i.cz/centos/7/os/x86_64/Packages/']
sources = ['python-2.7.5-86.el7.x86_64.rpm']

dependencies = [
     ('rpmrebuild', '2.14'),
]

exts_list = [
    ('setuptools', '41.6.0', {
        'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
        'source_tmpl': '%(name)s-%(version)s.zip',
    }),
    ('pip', '19.3.1', {
        'source_urls': ['http://pypi.python.org/packages/source/p/pip/'],
    }),
    ('nose', '1.3.7', {
        'source_urls': ['http://pypi.python.org/packages/source/n/nose/'],
    }),
]

moduleclass = 'lang'
