diff options
Diffstat (limited to 'python/cryptography/cryptography.SlackBuild')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 08efa38e2c..8ad91efd8f 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for cryptography # Copyright 2014-2018 Markus Reichelt, Aachen, DE -# Copyright 2021-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2021-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cryptography -VERSION=${VERSION:-44.0.2} +VERSION=${VERSION:-45.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,6 +80,13 @@ find -L . \ sed -i "s|!=74.1.2,||g" pyproject.toml sed -i "s|,!=75.2.0||g" pyproject.toml +export PATH="/opt/rust/bin:$PATH" +if [ -z "$LD_LIBRARY_PATH" ]; then + export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" +else + export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" +fi + # prevent cargo from using the network. # this only works because we have a vendored sources tarball with # everything cargo would have downloaded. |