summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Dimitris Zlatanidis2024-05-16 19:01:04 +0200
committer Willy Sudiarto Raharjo2024-05-18 01:55:46 +0200
commitb3c342b4c424ff3694156984d89afc40899ef9a4 (patch)
treed354907504d1a743b3b8af8e6d018d93e42f0d53 /python
parent00e33c32b177a42ce80e56d738c73490a0f123ae (diff)
downloadslackbuilds-b3c342b4c424ff3694156984d89afc40899ef9a4.tar.gz
python/python3-websockets: Updated for version 12.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-websockets/python3-websockets.SlackBuild7
-rw-r--r--python/python3-websockets/python3-websockets.info10
2 files changed, 9 insertions, 8 deletions
diff --git a/python/python3-websockets/python3-websockets.SlackBuild b/python/python3-websockets/python3-websockets.SlackBuild
index 70b73ee9b0..3be3cf0018 100644
--- a/python/python3-websockets/python3-websockets.SlackBuild
+++ b/python/python3-websockets/python3-websockets.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-websockets
-# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-websockets
SRCNAM=websockets
-VERSION=${VERSION:-10.2}
+VERSION=${VERSION:-12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +80,8 @@ 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
+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/python/python3-websockets/python3-websockets.info b/python/python3-websockets/python3-websockets.info
index 1d2d80ad9a..003a304dcd 100644
--- a/python/python3-websockets/python3-websockets.info
+++ b/python/python3-websockets/python3-websockets.info
@@ -1,10 +1,10 @@
PRGNAM="python3-websockets"
-VERSION="10.2"
+VERSION="12.0"
HOMEPAGE="https://github.com/aaugustin/websockets"
-DOWNLOAD="https://files.pythonhosted.org/packages/b4/7b/0960d02701f783bb052ec69ea32789d878d2cce05a03950adbd75f164758/websockets-10.2.tar.gz"
-MD5SUM="b917be5391934f872145c0473d8d8e41"
+DOWNLOAD="https://files.pythonhosted.org/packages/2e/62/7a7874b7285413c954a4cca3c11fd851f11b2fe5b4ae2d9bee4f6d9bdb10/websockets-12.0.tar.gz"
+MD5SUM="49d033c8236aa56ba2524f65570a27c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-wheel python3-build"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"