blob: 4f936478709c1f3dc8b82fe312548ae5a214ca47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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
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
|