aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c10b106715302..02d4eb4ac2c93 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 f0b2955662cd1..6ebb6cb58edd1 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"