From c663d5222d62b29dd1fed5e9f27ac5f32010a9c9 Mon Sep 17 00:00:00 2001 From: Alexander Mamay Date: Wed, 23 Sep 2015 19:03:36 +0600 Subject: [PATCH] deluge: update to 1.3.12. --- srcpkgs/deluge/patches/libtorrent-1.0.patch | 28 --------------------- srcpkgs/deluge/template | 8 +++--- 2 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/deluge/patches/libtorrent-1.0.patch diff --git a/srcpkgs/deluge/patches/libtorrent-1.0.patch b/srcpkgs/deluge/patches/libtorrent-1.0.patch deleted file mode 100644 index a5f1c1b42d4..00000000000 --- a/srcpkgs/deluge/patches/libtorrent-1.0.patch +++ /dev/null @@ -1,28 +0,0 @@ -From acf4fc4193d70fce2adace626dca2f90105622f6 Mon Sep 17 00:00:00 2001 -From: Calum Lind -Date: Sat, 22 Aug 2015 14:31:26 +0000 -Subject: [#2233] [lp:#1487704] Fix AttributeError in set_trackers with lt 1.0 - ---- -diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py -index 7ca35e1..9003d8b 100644 ---- deluge/core/torrent.py -+++ deluge/core/torrent.py -@@ -328,9 +328,12 @@ class Torrent(object): - if trackers == None: - trackers = [] - for value in self.handle.trackers(): -- tracker = {} -- tracker["url"] = value.url -- tracker["tier"] = value.tier -+ if lt.version_major == 0 and lt.version_minor < 15: -+ tracker = {} -+ tracker["url"] = value.url -+ tracker["tier"] = value.tier -+ else: -+ tracker = value - trackers.append(tracker) - self.trackers = trackers - self.tracker_host = None --- -cgit v0.9.2 diff --git a/srcpkgs/deluge/template b/srcpkgs/deluge/template index 6c8b9f54e80..e7e6378b969 100644 --- a/srcpkgs/deluge/template +++ b/srcpkgs/deluge/template @@ -1,7 +1,7 @@ # Template file for 'deluge' pkgname=deluge -version=1.3.11 -revision=4 +version=1.3.12 +revision=1 noarch=yes build_style=python-module pycompile_module="deluge" @@ -12,5 +12,5 @@ short_desc="BitTorrent client written in Python/PyGTK" maintainer="Alexey Rochev " homepage="http://deluge-torrent.org/" license="GPL-3" -distfiles="http://download.deluge-torrent.org/source/$pkgname-$version.tar.gz" -checksum="80b0a2a3460d52a5f53df26a9ce314e3e792f2e3f45b7c389140fd830bdee1b0" +distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz" +checksum="ebc8f3f2e9ecc652e9f42ed1798ee102d6fdf89d5a627c6fd24948bf9a73af13"