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 <willysr@slackbuilds.org>
This commit is contained in:
Logan Rathbone 2022-03-29 10:05:20 -04:00 committed by Willy Sudiarto Raharjo
parent b558d13d82
commit 730b085251
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 9 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for deluge.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
# Copyright 2019-2022 Logan Rathbone <poprocks@gmail.com>
#
# 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

View file

@ -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"