name = 'Python'
version = '2.7.18'

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': '13.3.0'}
toolchainopts = {'pic': True}

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

builddependencies = [
    ('pkgconf', '2.2.0'),
]

dependencies = [
    ('binutils', '2.42'),
    ('bzip2', '1.0.8'),  # required for bz2 package in Python stdlib
    ('zlib', '1.3.1'),
    ('libreadline', '8.2'),
    ('ncurses', '6.5'),
    ('SQLite', '3.45.3'),
    ('OpenSSL', '3', '', SYSTEM),
]

exts_default_options = {
    'source_urls': [PYPI_SOURCE],
}

# order is important!
# package versions updated 2023-05-17
# https://pip.pypa.io/en/latest/development/release-process/#python-2-support

exts_list = [
    ('wheel', '0.37.1', {
        'checksums': ['e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4'],
    }),
    ('setuptools', '44.1.1', {
        'source_tmpl': '%(name)s-%(version)s.zip',
        'checksums': ['c67aa55db532a0dadc4d2e20ba9961cbd3ccc84d544e9029699822542b5a476b'],
    }),
    ('pip', '20.3.4', {
        'checksums': ['6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc'],
    }),
]

moduleclass = 'lang'
