pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/tootstream chat/tootstream: Update to 0.3.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc55b88d450c
branches:  trunk
changeset: 312024:cc55b88d450c
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Aug 21 17:34:48 2018 +0000

description:
chat/tootstream: Update to 0.3.5.

Changes:

Added

    Updated to Mastodon.py 1.3 (no additional features yet)

Fixed

    List renames did not work

diffstat:

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

diffs (59 lines):

diff -r 1e8627c91354 -r cc55b88d450c chat/tootstream/Makefile
--- a/chat/tootstream/Makefile  Tue Aug 21 17:31:30 2018 +0000
+++ b/chat/tootstream/Makefile  Tue Aug 21 17:34:48 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2018/07/31 16:15:33 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/21 17:34:48 nia Exp $
 
-DISTNAME=      tootstream-0.3.4
+DISTNAME=      tootstream-0.3.5
 CATEGORIES=    chat www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=magicalraccoon/}
 
diff -r 1e8627c91354 -r cc55b88d450c chat/tootstream/distinfo
--- a/chat/tootstream/distinfo  Tue Aug 21 17:31:30 2018 +0000
+++ b/chat/tootstream/distinfo  Tue Aug 21 17:34:48 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/07/31 16:15:33 nia Exp $
+$NetBSD: distinfo,v 1.3 2018/08/21 17:34:48 nia Exp $
 
-SHA1 (tootstream-0.3.4.tar.gz) = ebeb5d39aaa836a57c7e52a0b78678181afbd030
-RMD160 (tootstream-0.3.4.tar.gz) = 04e36ac3cbc6ab5ed4958b47bf90feb8ef32e519
-SHA512 (tootstream-0.3.4.tar.gz) = 261c8dc7bad6203c8df8781c2d9e4884f6e1e82228e32bf181b27d072541ecd4b2c29cfdd55643bf3eedd46b890c40e3570010974489a78e690bcbf6e398b6a2
-Size (tootstream-0.3.4.tar.gz) = 24627 bytes
-SHA1 (patch-src_tootstream_toot.py) = fb9c23183f6edee2f805f83d0b591dd4e4cc5956
+SHA1 (tootstream-0.3.5.tar.gz) = 882585d76970b115a4e0122eeaf08c300e3afe5e
+RMD160 (tootstream-0.3.5.tar.gz) = 159f48edada2af45a916e338ffdda9c03cf35ac3
+SHA512 (tootstream-0.3.5.tar.gz) = b803fdc87826920e7684bc57ccda4ae66beba2674145c37a56da5de540317bfcbdbd1533e6d9982975d8a269788a763ce9236de477b9ba74f677b24cc2fb5d46
+Size (tootstream-0.3.5.tar.gz) = 24693 bytes
+SHA1 (patch-src_tootstream_toot.py) = 878481fbad811db29aabd6110d1bd5ff02af1bc8
diff -r 1e8627c91354 -r cc55b88d450c chat/tootstream/patches/patch-src_tootstream_toot.py
--- a/chat/tootstream/patches/patch-src_tootstream_toot.py      Tue Aug 21 17:31:30 2018 +0000
+++ b/chat/tootstream/patches/patch-src_tootstream_toot.py      Tue Aug 21 17:34:48 2018 +0000
@@ -1,24 +1,9 @@
-$NetBSD: patch-src_tootstream_toot.py,v 1.1 2018/07/31 16:15:33 nia Exp $
+$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-05-31 00:06:11.000000000 +0000
+--- src/tootstream/toot.py.orig        2018-08-09 00:55:08.000000000 +0000
 +++ src/tootstream/toot.py
-@@ -1279,11 +1279,11 @@ def stream(mastodon, rest):
- 
-     try:
-         if rest == "home" or rest == "":
--            handle = mastodon.stream_user(toot_listener, async=True)
-+            handle = mastodon.stream_user(toot_listener, run_async=True)
-         elif rest == "fed" or rest == "public":
--            handle = mastodon.stream_public(toot_listener, async=True)
-+            handle = mastodon.stream_public(toot_listener, run_async=True)
-         elif rest == "local":
--            handle = mastodon.stream_local(toot_listener, async=True)
-+            handle = mastodon.stream_local(toot_listener, run_async=True)
-         elif rest.startswith('list'):
-             # Remove list from the rest string
-             items = rest.split('list ')
 @@ -1295,10 +1295,10 @@ def stream(mastodon, rest):
                  cprint("List {} is not found".format(items[-1]), fg('red'))
                  return



Home | Main Index | Thread Index | Old Index