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>
This commit is contained in:
parent
00e33c32b1
commit
b3c342b4c4
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue