easyconfigs-it4i/p/Python/Python-3.6.8-base.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

51 lines
1.6 KiB
Plaintext

# IT4Innovations 2019
name = 'Python'
version = '3.6.8'
versionsuffix = '-base'
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://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
configopts = "--enable-optimizations"
# python needs bzip2 to build the bz2 package
dependencies = [
('bzip2', '1.0.6'),
('libreadline', '7.0'),
('SQLite', '3.17.0'),
('Tk', '8.6.6'),
('GMP', '6.1.2'),
('XZ', '5.2.3'),
('zlib', '1.2.11'),
('ncurses', '6.1'),
# ('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', 'libopenssl-devel')]
exts_list = [
('setuptools', '41.6.0', {
'source_tmpl': '%(name)s-%(version)s.zip',
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
'checksums': ['012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f'],
}),
('pip', '19.3.1', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
}),
]
moduleclass = 'lang'