From 8b5da4856f48d56663394ac38c843bdc123bd854 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 25 Apr 2016 16:44:34 +0200 Subject: [PATCH] python: move python2 symlink back into the package --- srcpkgs/python/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 3787fea7d81..1e43aac98b0 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -4,7 +4,7 @@ # pkgname=python version=2.7.11 -revision=8 +revision=9 wrksrc="Python-${version}" hostmakedepends="pkg-config" makedepends=" @@ -24,7 +24,6 @@ alternatives=" python:2to3:/usr/bin/2to3-2.7 python:pydoc:/usr/bin/pydoc2.7 python:python:/usr/bin/python2.7 - python:python2:/usr/bin/python2.7 python:python.1:/usr/share/man/man1/python2.7.1" pre_configure() { @@ -64,6 +63,7 @@ do_build() { do_install() { export PATH="$PATH:$wrksrc/hostpython" make DESTDIR=${DESTDIR} altinstall + ln -sf python2.7 ${DESTDIR}/usr/bin/python2 ln -sf python2.7-config ${DESTDIR}/usr/bin/python-config }