aboutsummaryrefslogtreecommitdiff
path: root/python/cryptography
diff options
context:
space:
mode:
Diffstat (limited to 'python/cryptography')
-rw-r--r--python/cryptography/cryptography.SlackBuild9
-rw-r--r--python/cryptography/cryptography.info12
2 files changed, 14 insertions, 7 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.
diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info
index c2144a9a7e..f06397e9ef 100644
--- a/python/cryptography/cryptography.info
+++ b/python/cryptography/cryptography.info
@@ -1,12 +1,12 @@
PRGNAM="cryptography"
-VERSION="44.0.2"
+VERSION="45.0.3"
HOMEPAGE="https://cryptography.io/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-44.0.2.tar.gz \
- https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-44.0.2-1.tar.xz"
-MD5SUM="9cb2411324687347a27d349d3e74eb7c \
- b66cb7dfb961c40e75a4c7e375f23cd6"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-45.0.3.tar.gz \
+ https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.3-1.tar.xz"
+MD5SUM="1e3b6a299fbbe74b9a68e1b2dbdcb96b \
+ c1606a52e30eb934969ce30547883705"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-maturin"
+REQUIRES="python3-maturin rust-opt"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"