Mercurial > vanilla
diff python/python2/python2.sh @ 252:9e95fda0e5c6
vanilla: fix many packages
Also add templates/python-hybrid.sh and update template/python.sh
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 21 Mar 2019 20:00:00 +0100 |
parents | 7e1ce22dde64 |
children | b3d11a5ed175 |
line wrap: on
line diff
--- a/python/python2/python2.sh Wed Mar 20 23:50:00 2019 +0100 +++ b/python/python2/python2.sh Thu Mar 21 20:00:00 2019 +0100 @@ -58,9 +58,15 @@ --with-system-ffi \ $with_ipv6 make - make altinstall DESTDIR=$DESTDIR + make altinstall maninstall DESTDIR=$DESTDIR ln -sf python2.7 $DESTDIR/usr/bin/python2 + # Avoid conflicts with python 3. + rm -f $DESTDIR/usr/bin/2to3 + mv $DESTDIR/usr/bin/smtpd.py{,2.7} + mv $DESTDIR/usr/bin/idle{,2.7} + mv $DESTDIR/usr/bin/pydoc{,2.7} + popd rm -rf Python-$PKGVERSION }