blob: 14f8e1c2982fd825fb6aec354fa978c0aa288f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
kind: autotools
depends:
- core.bst
sources:
- kind: git
url: upstream:cpython
track: v2.7.10
ref: 57af3f22d11600ca98c0c9073d0b3b57d43f7c4b
config:
configure-commands:
- |
./configure --prefix="%{prefix}" \
--enable-shared \
--with-ensurepip=upgrade \
--with-system-expat \
--with-system-ffi
post-install-commands:
- ln -sf python2.7 "%{install-root}"/"%{prefix}"/bin/python
- test -x "%{install-root}"/"%{prefix}"/bin/python2 || ln -s python2.7 "%{install-root}"/"%{prefix}"/bin/python2
|