1
0
forked from ports/contrib

[notify] py3boost: removed, users should uninstall this port and rebuild boost afterwards if not done yet

This commit is contained in:
Tim Biermann 2020-08-21 14:46:18 +00:00 committed by Danny Rawlins
parent 515ba64dee
commit 8ab98fed84
3 changed files with 0 additions and 58 deletions

View File

@ -1,8 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libboost_python3.so -> libboost_python38.so.1.73.0
-rw-r--r-- root/root usr/lib/libboost_python38.a
lrwxrwxrwx root/root usr/lib/libboost_python38.so -> libboost_python38.so.1.73.0
lrwxrwxrwx root/root usr/lib/libboost_python38.so.1 -> libboost_python38.so.1.73.0
lrwxrwxrwx root/root usr/lib/libboost_python38.so.1.73 -> libboost_python38.so.1.73.0
-rwxr-xr-x root/root usr/lib/libboost_python38.so.1.73.0

View File

@ -1,5 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38V7whj5WGnh2BFPMJSE54aSxWUYWGKzu8Tedo2b7g2ZTF56CB46mOvAeBSrEszeuvJ13/P7ShaPQ1RcbFjCNg4=
SHA256 (Pkgfile) = f3bae5fd288f838f4f57e293dc656c1e487c0c1c8ab7f936ab6461f43593ff3c
SHA256 (.footprint) = 703923dedc3e70e480ea456f29e4362385129bc58c64fc62f1226bb4c11581e7
SHA256 (boost_1_73_0.tar.bz2) = 4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402

View File

@ -1,45 +0,0 @@
# Description: Boost python3 binding.
# URL: https://www.boost.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Packager: Pedja, predivan at mts dot rs
# Depends on: boost python3
name=py3boost
version=1.73.0
release=1
source=(https://downloads.sourceforge.net/project/${name#py3}/${name#py3}/$version/${name#py3}_${version//./_}.tar.bz2)
build() {
cd ${name#py3}_${version//./_}
# these numbers need to be changed according to systems python3 version
sed -i '19s:=python:=python3.8:' bootstrap.sh
## here too
sed -i '20s:=:=3.8:' bootstrap.sh
export _stagedir="$SRC/stagedir"
./bootstrap.sh \
--prefix="${_stagedir}" \
--with-toolset=gcc \
--with-icu \
--with-libraries=python \
--with-python=/usr/bin/python3
./b2 stage \
--prefix="${_stagedir/python3}" \
--with-python \
python=3.8 \
variant=release \
threading=multi \
runtime-link=shared \
link=shared,static \
debug-symbols=off \
toolset=gcc \
install
install -dm 755 $PKG/usr/lib
cp -a ${_stagedir}/lib/libboost_python3* $PKG/usr/lib
#https://github.com/boostorg/python/issues/203#issuecomment-391477685
ln -srL $PKG/usr/lib/libboost_python3{8,}.so
}