summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Arn02023-09-09 16:29:11 +0200
committer Willy Sudiarto Raharjo2023-09-16 19:10:27 +0200
commit8d6f7dcf33d317e434e7760a541c433b69311cda (patch)
treea811ecaf270bd3d6973a716c562686b3a43c2a42
parent69886025f6690014d049778375009febe30b820c (diff)
downloadslackbuilds-8d6f7dcf33d317e434e7760a541c433b69311cda.tar.gz
python/python3-twisted: Updated for version 23.8.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-twisted/python3-twisted.SlackBuild7
-rw-r--r--python/python3-twisted/python3-twisted.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild
index c10b106715..02d4eb4ac2 100644
--- a/python/python3-twisted/python3-twisted.SlackBuild
+++ b/python/python3-twisted/python3-twisted.SlackBuild
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-twisted
-SRCNAM=Twisted
-VERSION=${VERSION:-22.10.0}
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-23.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,7 +83,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 --no-isolation
+python3 -m installer -d "$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-twisted/python3-twisted.info b/python/python3-twisted/python3-twisted.info
index f0b2955662..6ebb6cb58e 100644
--- a/python/python3-twisted/python3-twisted.info
+++ b/python/python3-twisted/python3-twisted.info
@@ -1,8 +1,8 @@
PRGNAM="python3-twisted"
-VERSION="22.10.0"
+VERSION="23.8.0"
HOMEPAGE="https://twistedmatrix.com/"
-DOWNLOAD="https://pypi.python.org/packages/source/T/Twisted/Twisted-22.10.0.tar.gz"
-MD5SUM="c9a5dad0813512fabd9de502738c0bf8"
+DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-23.8.0.tar.gz"
+MD5SUM="c1e9fb79ba0ea1d6f4533eabd2be2922"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-automat constantly hyperlink incremental zope.interface python3-service-identity typing-extensions"