mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
67 lines
2.4 KiB
Plaintext
67 lines
2.4 KiB
Plaintext
# IT4Innovations 2019
|
|
|
|
name = 'Python'
|
|
version = '3.7.3'
|
|
|
|
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}
|
|
|
|
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
|
|
sources = [SOURCE_TGZ]
|
|
|
|
dependencies = [
|
|
('bzip2', '1.0.6'), # required for bz2 package in Python stdlib
|
|
('zlib', '1.2.11'),
|
|
('libreadline', '8.0'),
|
|
('ncurses', '6.1'),
|
|
('SQLite', '3.27.2'),
|
|
('XZ', '5.2.4'),
|
|
('GMP', '6.1.2'), # required for pycrypto
|
|
('libffi', '3.2.1'), # required for cryptography
|
|
# 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
|
|
# Python 3.7 requires OpenSSL >= 1.0.2, uncomment line below if OS version is too old (e.g. CentOS 6)
|
|
# ('OpenSSL', '1.1.0j'),
|
|
]
|
|
|
|
configopts = '--enable-loadable-sqlite-extensions '
|
|
|
|
#osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
|
|
|
|
# symlink 'pip' command to 'pip3' that is included with Python installation
|
|
# required so we can update pip to version included in extensions, using pip
|
|
installopts = " && ln -s %(installdir)s/bin/pip3 %(installdir)s/bin/pip"
|
|
|
|
exts_default_options = {
|
|
'download_dep_fail': True,
|
|
'use_pip': True,
|
|
}
|
|
|
|
# order is important!
|
|
# package versions updated Mar 15th 2019
|
|
exts_list = [
|
|
('pip', '19.0.3', {
|
|
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
|
|
'checksums': ['6e6f197a1abfb45118dbb878b5c859a0edbdd33fd250100bc015b67fded4b9f2'],
|
|
# don't use --ignore-installed, i.e. let pip remove older pip version included with Python
|
|
'pip_ignore_installed': False,
|
|
}),
|
|
('setuptools', '40.8.0', {
|
|
'source_tmpl': '%(name)s-%(version)s.zip',
|
|
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
|
|
'checksums': ['6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d'],
|
|
# don't use --ignore-installed, i.e. let pip remove older setuptools version included with Python
|
|
'pip_ignore_installed': False,
|
|
}),
|
|
('nose', '1.3.7', {
|
|
'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
|
|
'checksums': ['f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98'],
|
|
}),
|
|
]
|
|
|
|
moduleclass = 'lang'
|