kind: autotools depends: - filename: core/bash.bst type: build - filename: gnu-toolchain.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