Mercurial > vanilla
comparison 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 |
comparison
equal
deleted
inserted
replaced
251:da8439572c16 | 252:9e95fda0e5c6 |
---|---|
56 --enable-shared \ | 56 --enable-shared \ |
57 --with-system-expat \ | 57 --with-system-expat \ |
58 --with-system-ffi \ | 58 --with-system-ffi \ |
59 $with_ipv6 | 59 $with_ipv6 |
60 make | 60 make |
61 make altinstall DESTDIR=$DESTDIR | 61 make altinstall maninstall DESTDIR=$DESTDIR |
62 ln -sf python2.7 $DESTDIR/usr/bin/python2 | 62 ln -sf python2.7 $DESTDIR/usr/bin/python2 |
63 | |
64 # Avoid conflicts with python 3. | |
65 rm -f $DESTDIR/usr/bin/2to3 | |
66 mv $DESTDIR/usr/bin/smtpd.py{,2.7} | |
67 mv $DESTDIR/usr/bin/idle{,2.7} | |
68 mv $DESTDIR/usr/bin/pydoc{,2.7} | |
63 | 69 |
64 popd | 70 popd |
65 rm -rf Python-$PKGVERSION | 71 rm -rf Python-$PKGVERSION |
66 } | 72 } |