From 730b085251ebebbe1f3b13923b6fed0d069b23de Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Tue, 29 Mar 2022 10:05:20 -0400 Subject: [PATCH] network/deluge: Update for 2.0.5 - Move to python3; update DEP accordingly. - Add libtorrent-rasterbar as a DEP; it is technically "optional" but the app only runs in "thin client mode" without it, so might as well make it a hard dep for SBo. Signed-off-by: Willy Sudiarto Raharjo --- network/deluge/deluge.SlackBuild | 9 ++++----- network/deluge/deluge.info | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/network/deluge/deluge.SlackBuild b/network/deluge/deluge.SlackBuild index db62c18f6a..4d851d3f9e 100644 --- a/network/deluge/deluge.SlackBuild +++ b/network/deluge/deluge.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for deluge. # Copyright 2010-2011 Marco Bonetti -# Copyright 2019 Logan Rathbone +# Copyright 2019-2022 Logan Rathbone # # All rights reserved. # @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=deluge -VERSION=${VERSION:-2.0.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.0.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,8 +81,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py build || exit 1 -python setup.py install --root=$PKG || exit 1 +python3 setup.py install --root=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/deluge/deluge.info b/network/deluge/deluge.info index 13d1ec5db9..da9f59bfec 100644 --- a/network/deluge/deluge.info +++ b/network/deluge/deluge.info @@ -1,10 +1,10 @@ PRGNAM="deluge" -VERSION="2.0.3" +VERSION="2.0.5" HOMEPAGE="https://www.deluge-torrent.org/" -DOWNLOAD="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-2.0.3.tar.xz" -MD5SUM="fbe784ebed006cd93c9a50f7c0530051" +DOWNLOAD="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-2.0.5.tar.xz" +MD5SUM="fe61433c7feecc44b899efac1a418908" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-MarkupSafe libtorrent-rasterbar pyOpenSSL python2-twisted rencode service_identity setproctitle wheel" +REQUIRES="rencode python3-twisted pyOpenSSL libtorrent-rasterbar" MAINTAINER="Logan Rathbone" EMAIL="poprocks@gmail.com"