diff options
author | Gene Carlson <kvngncrlsn@gmail.com> | 2024-09-22 04:03:03 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-27 23:12:10 +0700 |
commit | 7554148d66a5795abdd257a3fb5d292272857007 (patch) | |
tree | 963dde1a8a7f494b126acaa0173a6c0ffdbe821b /python/cryptography | |
parent | 65ba9a805155612e01a9a587d7b4c18e1b127a8f (diff) |
python/cryptography: python3-maturin dependency changed to rust-opt.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/cryptography')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 8 | ||||
-rw-r--r-- | python/cryptography/mkvendored.sh | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 797c1e06c18a..1b3de44f9fac 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -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])') diff --git a/python/cryptography/mkvendored.sh b/python/cryptography/mkvendored.sh index 2664e9eec413..47d498e7a95b 100644 --- a/python/cryptography/mkvendored.sh +++ b/python/cryptography/mkvendored.sh @@ -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 |