summaryrefslogtreecommitdiff
path: root/elements/core/python2.bst
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-07-18 13:40:57 +0100
committerBen Brewer <ben.brewer@codethink.co.uk>2018-07-25 10:39:10 +0100
commit1b4f6edf42b32ab0da020888aeba65283adef60d (patch)
tree5042a67c2b16d85b59f9c5f2f1fe238d34d69e38 /elements/core/python2.bst
parentfceb12c66ff42717a4c1fe6bb0e7b8a3a2dcaf5b (diff)
downloaddefinitions-1b4f6edf42b32ab0da020888aeba65283adef60d.tar.gz
Remove all python2 libraries
Diffstat (limited to 'elements/core/python2.bst')
-rw-r--r--elements/core/python2.bst20
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