From fa86445bfd4fb8e5441d685d92bf8a8ee237f022 Mon Sep 17 00:00:00 2001 From: Mark Doffman Date: Tue, 11 Mar 2014 20:03:42 +0000 Subject: Add python2 symlink after install. python2 symlink is needed by some scripts that use the #!/usr/bin/python2 shebang. A python2 symlink is also reccomended in PEP394. This patch adds a python2 symlink to python2.7 after installation. --- cpython.morph | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpython.morph b/cpython.morph index 30f38cb950..551c4165b0 100644 --- a/cpython.morph +++ b/cpython.morph @@ -3,3 +3,5 @@ kind: chunk build-system: autotools configure-commands: - ./configure --prefix="$PREFIX" --enable-shared +post-install-commands: +- ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2 -- cgit v1.2.1