pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/tootstream tootstream: remove patch to unbreak this



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e361d8da6d29
branches:  trunk
changeset: 325586:e361d8da6d29
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Nov 21 11:22:10 2018 +0000

description:
tootstream: remove patch to unbreak this

diffstat:

 chat/tootstream/Makefile                             |   3 ++-
 chat/tootstream/distinfo                             |   3 +--
 chat/tootstream/patches/patch-src_tootstream_toot.py |  19 -------------------
 3 files changed, 3 insertions(+), 22 deletions(-)

diffs (47 lines):

diff -r f320df196d48 -r e361d8da6d29 chat/tootstream/Makefile
--- a/chat/tootstream/Makefile  Wed Nov 21 11:02:13 2018 +0000
+++ b/chat/tootstream/Makefile  Wed Nov 21 11:22:10 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2018/10/01 16:33:37 nia Exp $
+# $NetBSD: Makefile,v 1.7 2018/11/21 11:22:10 nia Exp $
 
 DISTNAME=      tootstream-0.3.6
+PKGREVISION=   1
 CATEGORIES=    chat www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=magicalraccoon/}
 
diff -r f320df196d48 -r e361d8da6d29 chat/tootstream/distinfo
--- a/chat/tootstream/distinfo  Wed Nov 21 11:02:13 2018 +0000
+++ b/chat/tootstream/distinfo  Wed Nov 21 11:22:10 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/11/09 10:21:03 nia Exp $
+$NetBSD: distinfo,v 1.6 2018/11/21 11:22:10 nia Exp $
 
 SHA1 (tootstream-0.3.6.tar.gz) = 63e0e6b92088a80593dc44cc0cbae3d7056ed090
 RMD160 (tootstream-0.3.6.tar.gz) = 2226f666c58d8a80332e3d622b4dadebc7bec4d4
 SHA512 (tootstream-0.3.6.tar.gz) = 3409e9b129297bee70db3ac0bb9866261b623b41b6697f6cdb4ffa871333cab0342c2a7f6458f32dedb4f11e18d006bc2206e473a2c365641b1c34b4d3d71778
 Size (tootstream-0.3.6.tar.gz) = 25030 bytes
-SHA1 (patch-src_tootstream_toot.py) = 878481fbad811db29aabd6110d1bd5ff02af1bc8
diff -r f320df196d48 -r e361d8da6d29 chat/tootstream/patches/patch-src_tootstream_toot.py
--- a/chat/tootstream/patches/patch-src_tootstream_toot.py      Wed Nov 21 11:02:13 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-src_tootstream_toot.py,v 1.2 2018/08/21 17:34:48 nia Exp $
-
-'async' is a reserved keyword in Python 3.7.
-
---- src/tootstream/toot.py.orig        2018-08-09 00:55:08.000000000 +0000
-+++ src/tootstream/toot.py
-@@ -1295,10 +1295,10 @@ def stream(mastodon, rest):
-                 cprint("List {} is not found".format(items[-1]), fg('red'))
-                 return
- 
--            handle = mastodon.stream_list(item, toot_listener, async=True)
-+            handle = mastodon.stream_list(item, toot_listener, run_async=True)
-         elif rest.startswith('#'):
-             tag = rest[1:]
--            handle = mastodon.stream_hashtag(tag, toot_listener, async=True)
-+            handle = mastodon.stream_hashtag(tag, toot_listener, run_async=True)
-         else:
-             handle = None
-             print("Only 'home', 'fed', 'local', 'list', and '#hashtag' streams are supported.")



Home | Main Index | Thread Index | Old Index