diff options
Diffstat (limited to 'python/cryptography')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 11 | ||||
-rw-r--r-- | python/cryptography/cryptography.info | 12 |
2 files changed, 15 insertions, 8 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index fd1683c932..27cb88ca1d 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.3} +VERSION=${VERSION:-45.0.6} 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. diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info index 7dc610a113..9a6a889bc4 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,12 +1,12 @@ PRGNAM="cryptography" -VERSION="44.0.3" +VERSION="45.0.6" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-44.0.3.tar.gz \ - https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-44.0.3-1.tar.xz" -MD5SUM="01959c3e2b352c5e42edfc0cfe0c2cd1 \ - f4522de16c2f26a7615f434da732bd1b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-45.0.6.tar.gz \ + https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.6-1.tar.xz" +MD5SUM="ccfe593a8553304d2bb4a02ee92b9d5a \ + c798f40474358d4ead6b7e09a7b8d497" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-maturin" +REQUIRES="python3-maturin rust-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |