Created
June 16, 2021 13:05
-
-
Save mboisson/1f8af95f7685dbce16cb53c6a538b18a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = 'Python' | |
version = '3.8.2' | |
homepage = 'https://python.org/' | |
description = """Python is a programming language that lets you work more quickly and integrate your systems | |
more effectively.""" | |
toolchain = {'name': 'GCCcore', 'version': '9.3.0'} | |
toolchainopts = {'pic': True} | |
source_urls = ['https://www.%(namelower)s.org/ftp/%(namelower)s/%(version)s/'] | |
sources = [SOURCE_TGZ] | |
checksums = ['e634a7a74776c2b89516b2e013dda1728c89c8149b9863b8cea21946daf9d561'] | |
builddependencies = [ | |
('UnZip', '6.0'), | |
] | |
dependencies = [ | |
('binutils', '2.34'), # required for pip install that involves compilation | |
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib | |
('zlib', '1.2.11'), | |
('libreadline', '8.0'), | |
('ncurses', '6.2'), | |
('XZ', '5.2.5'), | |
('GMP', '6.2.0'), # required for pycrypto | |
('libffi', '3.3', '', True), | |
# 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.1e'), | |
] | |
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, | |
'sanity_pip_check': True, | |
'source_urls': ['https://pypi.python.org/packages/source/%(nameletter)s/%(name)s'], | |
'use_pip': True, | |
} | |
# order is important! | |
# package versions updated 23 April 2020 | |
exts_list = [ | |
('pip', '20.0.2', {'use_pip': False, 'checksums': ['7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f']}), | |
('setuptools', '45.2.0', {'source_tmpl': '%(name)s-%(version)s.zip', 'checksums': ['89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f']}), | |
('wheel', '0.34.2', {'checksums': ['8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96']}), | |
('six', '1.14.0', {'checksums': ['236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a']}), | |
('appdirs', '1.4.3', {'checksums': ['9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92']}), | |
('distlib', '0.3.0', {'source_tmpl': 'distlib-%(version)s.zip', 'checksums': ['2e166e231a26b36d6dfe35a48c4464346620f8645ed0ace01ee31822b288de21']}), | |
('filelock', '3.0.12', {'checksums': ['18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59']}), | |
('virtualenv', '20.0.18', {'checksums': ['ac53ade75ca189bc97b6c1d9ec0f1a50efe33cbf178ae09452dcd9fd309013c1']}), | |
('more-itertools', '8.2.0', {'checksums': ['b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507']}), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment