summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-28 16:13:26 +0000
committernia <nia@pkgsrc.org>2019-07-28 16:13:26 +0000
commitd459d26d19e2da5982398d5e898840e9aefe44ac (patch)
treea65cc6a28fbadf11d95434fc3606a825e990d459 /chat
parent2599da9ca0adc9101cd13b455184b44a39c26718 (diff)
downloadpkgsrc-d459d26d19e2da5982398d5e898840e9aefe44ac.tar.gz
tootstream: Update to 0.3.7
- Upgrade to Mastodon.py 1.4.5 - Rudimentary support for polls (shows links to polls) - Update colored minimum version to 1.3.93 (Fixes GPL license incompatibility) - Support Pleroma FlakeIDs - Minor fix for stream command being closed without receiving a toot getting a Nonetype for handle
Diffstat (limited to 'chat')
-rw-r--r--chat/tootstream/Makefile7
-rw-r--r--chat/tootstream/distinfo11
-rw-r--r--chat/tootstream/patches/patch-requirements.txt14
3 files changed, 23 insertions, 9 deletions
diff --git a/chat/tootstream/Makefile b/chat/tootstream/Makefile
index 0477c798efd..2780a90b782 100644
--- a/chat/tootstream/Makefile
+++ b/chat/tootstream/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2019/04/26 13:13:45 maya Exp $
+# $NetBSD: Makefile,v 1.10 2019/07/28 16:13:26 nia Exp $
-DISTNAME= tootstream-0.3.6
-PKGREVISION= 2
+DISTNAME= tootstream-0.3.7
CATEGORIES= chat www
MASTER_SITES= ${MASTER_SITE_GITHUB:=magicalraccoon/}
@@ -16,7 +15,7 @@ USE_LANGUAGES= # none
# incompatible with python 2.
# strange locale errors on earlier versions of python 3, related
# to py-click.
-PYTHON_VERSIONS_INCOMPATIBLE+= 27 36
+PYTHON_VERSIONS_INCOMPATIBLE+= 27 36
DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-colored-[0-9]*:../../textproc/py-colored
diff --git a/chat/tootstream/distinfo b/chat/tootstream/distinfo
index 9355fde7cec..7dbd6b07284 100644
--- a/chat/tootstream/distinfo
+++ b/chat/tootstream/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2018/11/21 11:22:10 nia Exp $
+$NetBSD: distinfo,v 1.7 2019/07/28 16:13:26 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 (tootstream-0.3.7.tar.gz) = 7182f68df86758a8718b9be4fd2706d18c5d27d1
+RMD160 (tootstream-0.3.7.tar.gz) = 67e8d5b0f195c5f9f493d0eb0c7389d57a5b8d94
+SHA512 (tootstream-0.3.7.tar.gz) = d4915418c0fcbeb15b72233dc95ec1f38cbe498fa93195d73a13733116af45a72e8560e8991c597884c5932824ebd2de62c91c17508b7bfffb360e98ee70b321
+Size (tootstream-0.3.7.tar.gz) = 25376 bytes
+SHA1 (patch-requirements.txt) = fca1c17f6610dc536fc9fb81bf237cd2df3aeefa
diff --git a/chat/tootstream/patches/patch-requirements.txt b/chat/tootstream/patches/patch-requirements.txt
new file mode 100644
index 00000000000..43787602887
--- /dev/null
+++ b/chat/tootstream/patches/patch-requirements.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-requirements.txt,v 1.1 2019/07/28 16:13:26 nia Exp $
+
+Realistically there's nothing stopping this from working with
+Mastodon.py 1.4.6.
+
+--- requirements.txt.orig 2019-07-20 13:29:47.000000000 +0000
++++ requirements.txt
+@@ -1,5 +1,5 @@
+ click>=6.7
+-Mastodon.py==1.4.5
++Mastodon.py>=1.4.5
+ colored>=1.3.93
+ humanize>=0.5.1
+ emoji>=0.4.5