Update: www/tootstream 3.7->3.8.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Update: www/tootstream 3.7->3.8.1

Pamela Mosiejczuk-2
Updates tootstream to the newest release, no notable change beyond an
older bump in the mastodon.py version range, which I am removing as too
low, anyway. kmos@ (maintainer) and I tested and agree it is more
appropriate to update mastodon.py to current, as any mastodon server
being reasonably maintained should already be running 3.1.x or 3.2.0. We
don't expect any odd results, but testing is appreciated.

OK?
-Pamela

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/tootstream/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile 3 Jul 2020 21:13:21 -0000 1.7
+++ Makefile 9 Aug 2020 03:52:37 -0000
@@ -2,9 +2,8 @@
 
 COMMENT = CLI for interacting with Mastodon/fediverse instances
 
-MODPY_EGG_VERSION = 0.3.7
+MODPY_EGG_VERSION = 0.3.8.1
 DISTNAME = tootstream-${MODPY_EGG_VERSION}
-REVISION = 2
 
 CATEGORIES = www
 
@@ -20,7 +19,7 @@ MODPY_SETUPTOOLS = Yes
 MODPY_PI = Yes
 MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
 
-RUN_DEPENDS = www/py-mastodon.py>=1.4.5,<1.5.0 \
+RUN_DEPENDS = www/py-mastodon.py \
  devel/py-click${MODPY_FLAVOR} \
  devel/py-dateutil${MODPY_FLAVOR} \
  textproc/py-colored${MODPY_FLAVOR} \
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/www/tootstream/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 27 Aug 2019 03:20:18 -0000 1.2
+++ distinfo 9 Aug 2020 03:28:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (tootstream-0.3.7.tar.gz) = 3C8CRAeO4f3PgJVVM6fYOxoftpNpK/W2CA8TE5SLats=
-SIZE (tootstream-0.3.7.tar.gz) = 26255
+SHA256 (tootstream-0.3.8.1.tar.gz) = aYhpZsmNb9vwUZWIMvgMK1NkOTeW9C8BEIPuJfxat/g=
+SIZE (tootstream-0.3.8.1.tar.gz) = 26399
Index: patches/patch-requirements_txt
===================================================================
RCS file: /home/cvs/ports/www/tootstream/patches/patch-requirements_txt,v
retrieving revision 1.1
diff -u -p -r1.1 patch-requirements_txt
--- patches/patch-requirements_txt 15 Dec 2019 17:09:52 -0000 1.1
+++ patches/patch-requirements_txt 9 Aug 2020 03:50:29 -0000
@@ -1,14 +1,14 @@
-$OpenBSD: patch-requirements_txt,v 1.1 2019/12/15 17:09:52 kmos Exp $
+$OpenBSD$
 
-Fix for other 1.4.x releases
+Loosen mastodon.py requirement to prevent delay of mastodon 3.1 support.
 
 Index: requirements.txt
 --- requirements.txt.orig
 +++ requirements.txt
 @@ -1,5 +1,5 @@
  click>=6.7
--Mastodon.py==1.4.5
-+Mastodon.py>=1.4.5
+-Mastodon.py==1.5.0
++Mastodon.py>=1.5.0
  colored>=1.3.93
  humanize>=0.5.1
  emoji>=0.4.5

Reply | Threaded
Open this post in threaded view
|

Re: Update: www/tootstream 3.7->3.8.1

kmos
On Tue, Sep 15, 2020 at 04:55:57AM -0400, Pamela Mosiejczuk wrote:
> Updates tootstream to the newest release, no notable change beyond an
> older bump in the mastodon.py version range, which I am removing as too
> low, anyway. kmos@ (maintainer) and I tested and agree it is more
> appropriate to update mastodon.py to current, as any mastodon server
> being reasonably maintained should already be running 3.1.x or 3.2.0. We
> don't expect any odd results, but testing is appreciated.

> OK?
> -Pamela

ok kmos with one tweak mentioned by paco below

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/www/tootstream/Makefile,v
> retrieving revision 1.7
> diff -u -p -r1.7 Makefile
> --- Makefile 3 Jul 2020 21:13:21 -0000 1.7
> +++ Makefile 9 Aug 2020 03:52:37 -0000
> @@ -2,9 +2,8 @@
>  
>  COMMENT = CLI for interacting with Mastodon/fediverse instances
>  
> -MODPY_EGG_VERSION = 0.3.7
> +MODPY_EGG_VERSION = 0.3.8.1
>  DISTNAME = tootstream-${MODPY_EGG_VERSION}
> -REVISION = 2
>  
>  CATEGORIES = www
>  
> @@ -20,7 +19,7 @@ MODPY_SETUPTOOLS = Yes
>  MODPY_PI = Yes
>  MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
>  
> -RUN_DEPENDS = www/py-mastodon.py>=1.4.5,<1.5.0 \
> +RUN_DEPENDS = www/py-mastodon.py \

Paco is right, we should probably throw MODPY_FLAVOR on this one. I
missed that before. (It doesn't actually break anything, but it's
probably better form).

--Kurt

>   devel/py-click${MODPY_FLAVOR} \
>   devel/py-dateutil${MODPY_FLAVOR} \
>   textproc/py-colored${MODPY_FLAVOR} \
> Index: distinfo
> ===================================================================
> RCS file: /home/cvs/ports/www/tootstream/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo 27 Aug 2019 03:20:18 -0000 1.2
> +++ distinfo 9 Aug 2020 03:28:37 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (tootstream-0.3.7.tar.gz) = 3C8CRAeO4f3PgJVVM6fYOxoftpNpK/W2CA8TE5SLats=
> -SIZE (tootstream-0.3.7.tar.gz) = 26255
> +SHA256 (tootstream-0.3.8.1.tar.gz) = aYhpZsmNb9vwUZWIMvgMK1NkOTeW9C8BEIPuJfxat/g=
> +SIZE (tootstream-0.3.8.1.tar.gz) = 26399
> Index: patches/patch-requirements_txt
> ===================================================================
> RCS file: /home/cvs/ports/www/tootstream/patches/patch-requirements_txt,v
> retrieving revision 1.1
> diff -u -p -r1.1 patch-requirements_txt
> --- patches/patch-requirements_txt 15 Dec 2019 17:09:52 -0000 1.1
> +++ patches/patch-requirements_txt 9 Aug 2020 03:50:29 -0000
> @@ -1,14 +1,14 @@
> -$OpenBSD: patch-requirements_txt,v 1.1 2019/12/15 17:09:52 kmos Exp $
> +$OpenBSD$
>  
> -Fix for other 1.4.x releases
> +Loosen mastodon.py requirement to prevent delay of mastodon 3.1 support.
>  
>  Index: requirements.txt
>  --- requirements.txt.orig
>  +++ requirements.txt
>  @@ -1,5 +1,5 @@
>   click>=6.7
> --Mastodon.py==1.4.5
> -+Mastodon.py>=1.4.5
> +-Mastodon.py==1.5.0
> ++Mastodon.py>=1.5.0
>   colored>=1.3.93
>   humanize>=0.5.1
>   emoji>=0.4.5
>