diff options
Diffstat (limited to 'elements/python2-core/python2.bst')
-rw-r--r-- | elements/python2-core/python2.bst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/elements/python2-core/python2.bst b/elements/python2-core/python2.bst new file mode 100644 index 00000000..4f936478 --- /dev/null +++ b/elements/python2-core/python2.bst @@ -0,0 +1,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 |