diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2018-07-18 13:40:57 +0100 |
---|---|---|
committer | Ben Brewer <ben.brewer@codethink.co.uk> | 2018-07-25 10:39:10 +0100 |
commit | 1b4f6edf42b32ab0da020888aeba65283adef60d (patch) | |
tree | 5042a67c2b16d85b59f9c5f2f1fe238d34d69e38 /elements/core/python2.bst | |
parent | fceb12c66ff42717a4c1fe6bb0e7b8a3a2dcaf5b (diff) | |
download | definitions-1b4f6edf42b32ab0da020888aeba65283adef60d.tar.gz |
Remove all python2 libraries
Diffstat (limited to 'elements/core/python2.bst')
-rw-r--r-- | elements/core/python2.bst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/elements/core/python2.bst b/elements/core/python2.bst new file mode 100644 index 00000000..4f936478 --- /dev/null +++ b/elements/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 |