1[manifest]
2name = python
3
4[rpms]
5python3
6python3-devel
7
8[debs]
9python3-all-dev
10
11[download]
12url = https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz
13sha256 = 316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a
14
15[build]
16builder = autoconf
17subdir = Python-3.8.12
18
19[autoconf.args]
20--enable-shared
21--with-ensurepip=install
22
23# python's pkg-config libffi detection is broken
24# See https://bugs.python.org/issue34823 for clearest description
25# and pending PR https://github.com/python/cpython/pull/20451
26# The documented workaround requires an environment variable derived from
27# pkg-config to be passed into its configure step
28[autoconf.envcmd.LDFLAGS]
29pkg-config
30--libs-only-L
31libffi
32
33[dependencies]
34libffi
35