python3: add symlink for include, py3boost needs this and maybe others

This commit is contained in:
Danny Rawlins 2019-08-08 20:48:16 +10:00
parent 60ffacab4a
commit ac3bb2afb6
3 changed files with 6 additions and 4 deletions

View File

@ -13,6 +13,7 @@ lrwxrwxrwx root/root usr/bin/python3.7-config -> python3.7m-config
-rwxr-xr-x root/root usr/bin/python3.7m-config
-rwxr-xr-x root/root usr/bin/pyvenv-3.7
drwxr-xr-x root/root usr/include/
lrwxrwxrwx root/root usr/include/python3.7 -> python3.7m
drwxr-xr-x root/root usr/include/python3.7m/
-rw-r--r-- root/root usr/include/python3.7m/Python-ast.h
-rw-r--r-- root/root usr/include/python3.7m/Python.h

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QM1j2cxS5Ss79pE0HnXl5yojvjt+lJuhnkQML2aYJZZxvAxbYWasbM7xIJ51488YUA7f7icX4MjmTrxUxBEngQ=
SHA256 (Pkgfile) = b1510dafbebe82cc3183a8ecae1858aee5f37b338166867133d02b770b2f5c5e
SHA256 (.footprint) = c3c50497be70039fd9e11ab33f6fd94d087d0677c28c15ed3bfdb02a3811f8bd
RWSE3ohX2g5d/Rsb7Ayu/+YkAM/YQI/FqnCWiem9bG780vKgn68aRRL6gew+i9eQNgXhXZtr2B9C/ft8KOQ6SW9K70/JTmQWiww=
SHA256 (Pkgfile) = cdcefe8a8b9a8fc2fe4e07b26469ef240d5056565c5eaffd6d43cf09aef26c7a
SHA256 (.footprint) = b29adcb4262ee8bdeef874b4eb846719b29ab7df111fbf3be13e9ca06d4fcafd
SHA256 (Python-3.7.3.tar.xz) = da60b54064d4cfcd9c26576f6df2690e62085123826cff2e667e72a91952d318

View File

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