python/python3-orjson: python3-maturin dependency changed to rust-opt.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Gene Carlson 2024-09-22 03:56:08 +09:00 committed by Willy Sudiarto Raharjo
parent 0bc9b941b1
commit 5d0c409b00
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-orjson
SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-3.10.7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -85,11 +85,11 @@ find -L . \
# NOTE: this doesn't appear to be needed in this case but I'm adding it
export CARGO_NET_OFFLINE=true
export PATH="/opt/rust16/bin:$PATH"
export PATH="/opt/rust/bin:$PATH"
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX"
else
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi
python3 -m build --no-isolation