python3: add more configuration symlinks, hexchat and others depend on them

This commit is contained in:
Danny Rawlins 2019-04-07 20:24:16 +10:00
parent 974e49d865
commit de79439cf9
3 changed files with 8 additions and 4 deletions

View File

@ -8,6 +8,7 @@ lrwxrwxrwx root/root usr/bin/pydoc3 -> pydoc3.6
lrwxrwxrwx root/root usr/bin/python3 -> python3.6
lrwxrwxrwx root/root usr/bin/python3-config -> python3.6m-config
-rwxr-xr-x root/root usr/bin/python3.6
lrwxrwxrwx root/root usr/bin/python3.6-config -> python3.6m-config
-rwxr-xr-x root/root usr/bin/python3.6m
-rwxr-xr-x root/root usr/bin/python3.6m-config
-rwxr-xr-x root/root usr/bin/pyvenv-3.6
@ -119,6 +120,7 @@ lrwxrwxrwx root/root usr/lib/libpython3.6m.so -> libpython3.6m.so.1.0
-r-xr-xr-x root/root usr/lib/libpython3.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/python-3.6.pc
lrwxrwxrwx root/root usr/lib/pkgconfig/python3.pc -> python-3.6.pc
lrwxrwxrwx root/root usr/lib/python3 -> python3.6
drwxr-xr-x root/root usr/lib/python3.6/
-rw-r--r-- root/root usr/lib/python3.6/LICENSE.txt

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/f7qpHB4iQNXtIGXJvrH1D98VT1qYRKNXTX8toZNf/O1C4i0ZqBFPaKIT6oAslYzrNwM8zD45OVoAFlvCez8dQ0=
SHA256 (Pkgfile) = 0a3e1fe297985188ed97e0e0021a5bf64c0b4fea1f8d2bf78fafe2d6d21c8f38
SHA256 (.footprint) = 9357c204cf5a561b9da657ff11d4e312c1faff8ac8893ae13fa3bc366b5aeb8b
RWSE3ohX2g5d/X8L4657kfW3cgm/HSDvOcM7wWAsO9azJj13dEoco7ZzO1SG5TKH+DX62VEHXgP8RkvHJf0veTtwHL48bR6MAQY=
SHA256 (Pkgfile) = 2563dabe3a437fb78f129c4f894eaa0690ae788b54e6a31987b12f71be4bdf1b
SHA256 (.footprint) = a4d31ba1791f253f7d245ad29f9a6ae450009d7e756f19f4cb31ed5eee07781c
SHA256 (Python-3.6.7.tar.xz) = 81fd1401a9d66533b0a3e9e3f4ea1c7c6702d57d5b90d659f971e6f1b745f77d

View File

@ -5,7 +5,7 @@
name=python3
version=3.6.7
release=1
release=2
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
build() {
@ -33,9 +33,11 @@ build() {
ln -s python${version%.*} $PKG/usr/bin/python3
ln -s python${version%.*}m-config $PKG/usr/bin/python3-config
ln -s python${version%.*}m-config $PKG/usr/bin/python${version%.*}-config
ln -s idle${version%.*} $PKG/usr/bin/idle3
ln -s pydoc${version%.*} $PKG/usr/bin/pydoc3
ln -s python${version%.*} $PKG/usr/lib/$name
ln -s python-3.6.pc $PKG/usr/lib/pkgconfig/python3.pc
rm $PKG/usr/lib/python${version%.*}/ctypes/macholib/README.ctypes
rm $PKG/usr/lib/python${version%.*}/distutils/README