mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/cryptography: python3-maturin dependency changed to rust-opt.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
65ba9a8051
commit
7554148d66
2 changed files with 11 additions and 11 deletions
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=cryptography
|
||||
VERSION=${VERSION:-43.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
VSBUILD=${VSBUILD:-1}
|
||||
|
@ -89,11 +89,11 @@ export CARGO_NET_OFFLINE=true
|
|||
# prevent cargo from writing outside of $TMP
|
||||
export CARGO_HOME=$(pwd)/$VSDIR/.cargo
|
||||
|
||||
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
|
||||
|
||||
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz
|
||||
# Requires network access, but does not require root privilege.
|
||||
# Requires that $PRGNAM's REQUIRES need to be installed first (rust16)
|
||||
# Requires that $PRGNAM's REQUIRES need to be installed first (rust-opt)
|
||||
# and cargo-vendor-filterer installed to include just the linux deps
|
||||
#
|
||||
# Expects to be run within a slackbuild dir with the source archive
|
||||
|
@ -87,16 +87,16 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# check if rust16 is installed
|
||||
if [ ! -d /opt/rust16/bin ]; then
|
||||
echo "ERROR: The rust16 slackbuild is required to be installed"
|
||||
# check if rust-opt is installed
|
||||
if [ ! -d /opt/rust/bin ]; then
|
||||
echo "ERROR: The rust-opt slackbuild is required to be installed"
|
||||
exit 1
|
||||
else
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue