diff options
Diffstat (limited to 'python/cryptography/cryptography.SlackBuild')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 08efa38e2c..67c19d4024 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cryptography -VERSION=${VERSION:-44.0.2} +VERSION=${VERSION:-45.0.3} 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. |