summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2025-04-30 16:50:07 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2025-05-03 09:37:19 +0700
commitef9463ddfcb9748fd9bceed5270d509fb73a58e7 (patch)
tree7bad66564024e1cb5203b32d5ce83806b0b3af00 /libraries
parent146955d5c38eb055422df59a7e43507d9ab95107 (diff)
downloadslackbuilds-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.SlackBuild10
-rw-r--r--libraries/awscrt/awscrt.info8
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"