python3: minor install cleanup, no rebuild is necessary

This commit is contained in:
Danny Rawlins 2017-09-07 13:12:45 +10:00
parent cb92a6d057
commit c636e2ef96
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/TLDnwKefIKN0Lyw9su23Nc89mqpVZ0tAf+SuA6CE990W/Az9SohSmckvqv/Pju1jjSC95YaLe0r1GSVZI/x9QQ=
SHA256 (Pkgfile) = 4709a7e4248dcc2379622e0ec85c79c2a1a0a4ba2501cad9b7c529dd4a16762f
RWSE3ohX2g5d/fSWa0vQT7Mlz3I7V7fwW6BYpLN0HFbInhOSrIiBOKIUyrxTmkEfD0AYI0J+oXE3+1S8URtDQvA5qTsyRfjzewQ=
SHA256 (Pkgfile) = 9886bcebc77dd80225e5d281a50d5183947162388d2b9bf88dddf2f9fadb02cb
SHA256 (.footprint) = f22eb941d50459fe5471192b4d55230049e7509256fef31e5276fee3ea7a09d5
SHA256 (Python-3.6.2.tar.xz) = 9229773be41ed144370f47f0f626a1579931f5a390f1e8e3853174d52edd64a9

View File

@ -32,13 +32,12 @@ build() {
--without-ensurepip
make
make -j1 DESTDIR=$PKG altinstall
make -j1 DESTDIR=$PKG altinstall maninstall
ln -s python${version%.*} $PKG/usr/bin/python3
ln -s python${version%.*}m-config $PKG/usr/bin/python3-config
ln -s idle${version%.*} $PKG/usr/bin/idle3
ln -s pydoc${version%.*} $PKG/usr/bin/pydoc3
ln -s python${version%.*}.1 $PKG/usr/share/man/man1/python3.1
ln -s python${version%.*} $PKG/usr/lib/$name
rm $PKG/usr/lib/python${version%.*}/ctypes/macholib/README.ctypes