forked from BobBuildTool/basement-gnu-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.yaml
More file actions
90 lines (76 loc) · 2.42 KB
/
python.yaml
File metadata and controls
90 lines (76 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
inherit: [autotools, autoconf, make, patch]
metaEnvironment:
PKG_VERSION: "2.7.17"
privateEnvironment:
APPLY_LIBTOOL_PATCH: "no"
checkoutSCM:
scm: url
url: https://www.python.org/ftp/python/${PKG_VERSION}/Python-${PKG_VERSION}.tar.xz
digestSHA256: "4d43f033cdbd0aa7b7023c81b0e986fd11e653b5248dac9144d508f11812ba41"
stripComponents: 1
checkoutDeterministic: True
checkoutScript: |
patchApplySeries $<<python/*>>
buildScript: |
autoconfSyncReconfigure $1 src
multiPackage:
"":
depends:
- libs::expat-dev
- libs::gdbm-dev
- libs::libffi-dev
- libs::ncurses-dev
- libs::openssl-dev
- libs::zlib-dev
- use: []
depends:
- libs::expat-tgt
- libs::gdbm-tgt
- libs::libffi-tgt
- libs::ncurses-tgt
- libs::openssl-tgt
- libs::zlib-tgt
- name: python::python-host-static
use: [tools]
buildTools: [python]
buildScript: |
export ac_cv_file__dev_ptmx=yes
export ac_cv_file__dev_ptc=no
autotoolsBuild $PWD/src \
--with-threads \
--enable-ipv6 \
--enable-unicode=ucs4 \
--with-dbmliborder=gdbm:ndbm \
--without-ensurepip \
--disable-pyo-build \
--disable-pyc-build
packageScript: |
autotoolsPackageTgt
provideDeps: [ "*-tgt" ]
host-static:
buildTools: [host-toolchain]
buildScript: |
unset AUTOCONF_BUILD
unset AUTOCONF_HOST
autotoolsBuild $PWD/src \
--libdir=/usr/lib \
--without-cxx-main \
--disable-sqlite3 \
--disable-tk \
--with-expat=system \
--disable-curses \
--disable-codecs-cjk \
--disable-nis \
--enable-unicodedata \
--disable-dbm \
--disable-gdbm \
--disable-bsddb \
--disable-test-modules \
--disable-bz2 \
--disable-ssl \
--disable-ossaudiodev \
--disable-pyo-build
packageScript: |
autotoolsPackageTgt
provideTools:
python: usr/bin