From d05fcc21cb9509084a0424e6808b84b58dc52d62 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 24 Mar 2022 22:47:18 -0400 Subject: gnu: tremc: Update to 0.9.3. * gnu/packages/bittorrent.scm (tremc): Update to 0.9.3. [source]: Remove obsolete patch. * gnu/packages/patches/tremc-fix-decodestring.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/packages/patches/tremc-fix-decodestring.patch | 25 ----------------------- 1 file changed, 25 deletions(-) delete mode 100644 gnu/packages/patches/tremc-fix-decodestring.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/tremc-fix-decodestring.patch b/gnu/packages/patches/tremc-fix-decodestring.patch deleted file mode 100644 index 346f65e611..0000000000 --- a/gnu/packages/patches/tremc-fix-decodestring.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 79995bc82e81f0429222aab4d90a03440feef057 Mon Sep 17 00:00:00 2001 -From: Matan Ziv-Av -Date: Mon, 29 Jun 2020 15:18:03 +0300 -Subject: [PATCH] Use base64.decodebytes. - -Based on upstream commit 79995bc82e81f0429222aab4d90a03440feef057 which -confuses several unrelated changes. - ---- - tremc | 29 ++++++++++++++++++++++++++++- - 1 file changed, 28 insertions(+), 1 deletion(-) - -diff --git a/tremc b/tremc -index b47f012..c626fde 100755 ---- a/tremc -+++ b/tremc -@@ -440,7 +443,7 @@ class Transmission(object): - # TAG_TORRENT_DETAILS, but just passing seems to help.(?) - try: - torrent_details = response['arguments']['torrents'][0] -- torrent_details['pieces'] = base64.decodestring(bytes(torrent_details['pieces'], ENCODING)) -+ torrent_details['pieces'] = base64.decodebytes(bytes(torrent_details['pieces'], ENCODING)) - self.torrent_details_cache = torrent_details - self.upgrade_peerlist() - except IndexError: -- cgit v1.2.3