pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/tootstream



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Aug 21 17:34:48 UTC 2018

Modified Files:
        pkgsrc/chat/tootstream: Makefile distinfo
        pkgsrc/chat/tootstream/patches: patch-src_tootstream_toot.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/tootstream/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/tootstream/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/tootstream/Makefile
diff -u pkgsrc/chat/tootstream/Makefile:1.3 pkgsrc/chat/tootstream/Makefile:1.4
--- pkgsrc/chat/tootstream/Makefile:1.3 Tue Jul 31 16:15:33 2018
+++ pkgsrc/chat/tootstream/Makefile     Tue Aug 21 17:34:48 2018
@@ -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/}
 

Index: pkgsrc/chat/tootstream/distinfo
diff -u pkgsrc/chat/tootstream/distinfo:1.2 pkgsrc/chat/tootstream/distinfo:1.3
--- pkgsrc/chat/tootstream/distinfo:1.2 Tue Jul 31 16:15:33 2018
+++ pkgsrc/chat/tootstream/distinfo     Tue Aug 21 17:34:48 2018
@@ -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

Index: pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py
diff -u pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py:1.1 pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py:1.2
--- pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py:1.1     Tue Jul 31 16:15:33 2018
+++ pkgsrc/chat/tootstream/patches/patch-src_tootstream_toot.py Tue Aug 21 17:34:48 2018
@@ -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