- 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

https://github.com/magicalraccoon/tootstream/releases

Works fine for me, haven't used polls, though.

Add version specs while here to keep track;  some of the minimal
requirements now exactly match our in-tree versions.

Drop default PKGNAME.

Feedback? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/tootstream/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    12 Jul 2019 20:51:06 -0000      1.3
+++ Makefile    17 Aug 2019 18:38:09 -0000
@@ -2,9 +2,8 @@
 
 COMMENT =              CLI for interacting with Mastodon/fediverse instances
 
-MODPY_EGG_VERSION =    0.3.6
+MODPY_EGG_VERSION =    0.3.7
 DISTNAME =             tootstream-${MODPY_EGG_VERSION}
-PKGNAME =              tootstream-${MODPY_EGG_VERSION}
 
 CATEGORIES =           www
 
@@ -21,12 +20,12 @@ MODPY_PI =          Yes
 MODPY_VERSION =                ${MODPY_DEFAULT_VERSION_3}
 MODPY_PYTEST =         Yes
 
-RUN_DEPENDS =          www/py-mastodon.py${MODPY_FLAVOR}=1.3.1 \
-                       devel/py-click${MODPY_FLAVOR} \
+RUN_DEPENDS =          www/py-mastodon.py${MODPY_FLAVOR}=1.4.5 \
+                       devel/py-click${MODPY_FLAVOR}>=6.7 \
                        devel/py-dateutil${MODPY_FLAVOR} \
-                       textproc/py-colored${MODPY_FLAVOR} \
-                       textproc/py-emoji${MODPY_FLAVOR} \
-                       textproc/py-humanize${MODPY_FLAVOR}
+                       textproc/py-colored${MODPY_FLAVOR}>=1.3.93 \
+                       textproc/py-emoji${MODPY_FLAVOR}>=0.4.5 \
+                       textproc/py-humanize${MODPY_FLAVOR}>=0.5.1
 
 # Doesn't seem to have tests
 NO_TEST =              Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/tootstream/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    2 May 2019 21:58:21 -0000       1.1.1.1
+++ distinfo    17 Aug 2019 18:07:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (tootstream-0.3.6.tar.gz) = B8o2zKi5AeKtXYzUQheyb1eaFDtGO40cqmq8QN9NA5Y=
-SIZE (tootstream-0.3.6.tar.gz) = 25894
+SHA256 (tootstream-0.3.7.tar.gz) = 3C8CRAeO4f3PgJVVM6fYOxoftpNpK/W2CA8TE5SLats=
+SIZE (tootstream-0.3.7.tar.gz) = 26255
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/tootstream/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   2 May 2019 21:58:21 -0000       1.1.1.1
+++ pkg/PLIST   17 Aug 2019 18:15:32 -0000
@@ -9,7 +9,7 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/tootstream-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/tootstream-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/tootstream/__init__.py
-lib/python${MODPY_VERSION}/site-packages/tootstream/${MODPY_PYCACHE}
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/tootstream/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/tootstream/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/tootstream/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/tootstream/${MODPY_PYCACHE}toot.${MODPY_PYC_MAGIC_TAG}pyc

Reply via email to