diff options
author | 2025-04-30 16:50:07 +0300 | |
---|---|---|
committer | 2025-05-03 09:37:19 +0700 | |
commit | ef9463ddfcb9748fd9bceed5270d509fb73a58e7 (patch) | |
tree | 7bad66564024e1cb5203b32d5ce83806b0b3af00 /libraries | |
parent | 146955d5c38eb055422df59a7e43507d9ab95107 (diff) | |
download | slackbuilds-ef9463ddfcb9748fd9bceed5270d509fb73a58e7.tar.gz slackbuilds-ef9463ddfcb9748fd9bceed5270d509fb73a58e7.tar.xz |
libraries/awscrt: Updated for version 0.25.4.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/awscrt/awscrt.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/awscrt/awscrt.info | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/libraries/awscrt/awscrt.SlackBuild b/libraries/awscrt/awscrt.SlackBuild index 939e6dac1d..1f7544d417 100644 --- a/libraries/awscrt/awscrt.SlackBuild +++ b/libraries/awscrt/awscrt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for awscrt -# Copyright 2023 Dimitris Zlatanidis Greece, Orestiada +# Copyright 2023-2025 Dimitris Zlatanidis Greece, Orestiada # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=awscrt -VERSION=${VERSION:-0.19.13} +VERSION=${VERSION:-0.25.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/awscrt/awscrt.info b/libraries/awscrt/awscrt.info index b50bacb2a2..ae10d97078 100644 --- a/libraries/awscrt/awscrt.info +++ b/libraries/awscrt/awscrt.info @@ -1,10 +1,10 @@ PRGNAM="awscrt" -VERSION="0.19.13" +VERSION="0.25.4" HOMEPAGE="https://github.com/awslabs/aws-crt-python" -DOWNLOAD="https://files.pythonhosted.org/packages/86/e1/042ff1ab855cd738084d6666b4991b5de11dbd35c9d7f373fdc11a15616e/awscrt-0.19.13.tar.gz" -MD5SUM="d7e2fe49099bcd527a0e7bd05b9a6ce0" +DOWNLOAD="https://files.pythonhosted.org/packages/9d/a6/e1553dc8cb8beea1d518a53a5c2c9296d3eb2ee6701ecb8b6544735cfbef/awscrt-0.25.4.tar.gz" +MD5SUM="303880b0584bbc024169c1f33e218767" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wheel" +REQUIRES="python3-setuptools-opt" MAINTAINER="Dimitris Zlatanidis" EMAIL="dslackw@gmail.com" |