summaryrefslogtreecommitdiff
path: root/elements/core/python2.bst
blob: fc524b104b37330146c7560a92988c1ee3cf4537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
kind: autotools
depends:
- filename: core/bash.bst
  type: build
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