diff options
Diffstat (limited to 'python/cryptography')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 9 | ||||
-rw-r--r-- | python/cryptography/cryptography.info | 12 |
2 files changed, 14 insertions, 7 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index fd1683c932..ad85746354 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.3} +VERSION=${VERSION:-45.0.2} 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..0263f4368a 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,12 +1,12 @@ PRGNAM="cryptography" -VERSION="44.0.3" +VERSION="45.0.2" 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.2.tar.gz \ + https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.2-1.tar.xz" +MD5SUM="2b934ffd0563925781a748e309b1b203 \ + aacf883d2fa018f7b6b2919a5f6b5727" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-maturin" +REQUIRES="python3-maturin rust-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |