| 1 |
[manifest] |
| 2 |
name = python |
| 3 |
|
| 4 |
[homebrew] |
| 5 |
[email protected] |
| 6 |
|
| 7 |
[rpms] |
| 8 |
python3 |
| 9 |
python3-devel |
| 10 |
|
| 11 |
# sapling needs dataclasses which arrive in 3.7, and the bionic python is 3.6 |
| 12 |
[debs.all(distro=ubuntu,distro_vers="18.04")] |
| 13 |
python3.8-dev |
| 14 |
|
| 15 |
[debs.not(all(distro=ubuntu,distro_vers="18.04"))] |
| 16 |
python3-all-dev |
| 17 |
|
| 18 |
[download] |
| 19 |
url = https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tgz |
| 20 |
sha256 = 903b92d76354366b1d9c4434d0c81643345cef87c1600adfa36095d7b00eede4 |
| 21 |
|
| 22 |
[build] |
| 23 |
builder = autoconf |
| 24 |
subdir = Python-3.8.13 |
| 25 |
|
| 26 |
[autoconf.args] |
| 27 |
--enable-shared |
| 28 |
--with-ensurepip=install |
| 29 |
|
| 30 |
# python's pkg-config libffi detection is broken |
| 31 |
# See https://bugs.python.org/issue34823 for clearest description |
| 32 |
# and pending PR https://github.com/python/cpython/pull/20451 |
| 33 |
# The documented workaround requires an environment variable derived from |
| 34 |
# pkg-config to be passed into its configure step |
| 35 |
[autoconf.envcmd.LDFLAGS] |
| 36 |
pkg-config |
| 37 |
--libs-only-L |
| 38 |
libffi |
| 39 |
|
| 40 |
[dependencies] |
| 41 |
libffi |
| 42 |
# eden tests expect the python bz2 support |
| 43 |
bz2 |
| 44 |
# eden tests expect the python curses support |
| 45 |
ncurses |