summaryrefslogtreecommitdiff
path: root/net-im/toot
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/toot')
-rw-r--r--net-im/toot/Makefile14
-rw-r--r--net-im/toot/distinfo6
2 files changed, 12 insertions, 8 deletions
diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile
index 5c678b70ced5..d4b4f1e29078 100644
--- a/net-im/toot/Makefile
+++ b/net-im/toot/Makefile
@@ -1,13 +1,13 @@
PORTNAME= toot
-DISTVERSION= 0.48.0
+DISTVERSION= 0.48.1
CATEGORIES= net-im python
-MASTER_SITES= PYPI \
- https://github.com/ihabunek/toot/releases/download/${DISTVERSION}/
+MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nxjoseph@protonmail.com
COMMENT= Interact with the Mastodon social network from the command line
-WWW= https://github.com/ihabunek/toot
+WWW= https://github.com/ihabunek/toot \
+ https://pypi.org/project/toot
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -47,7 +47,11 @@ IMAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=9.5.0:graphics/py-pillow@${PY
${PYTHON_PKGNAMEPREFIX}term-image>=0.7.2:graphics/py-term-image@${PY_FLAVOR}
RICHTEXT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwidgets>=0.2<0.3:devel/py-urwidgets@${PY_FLAVOR}
-PORTSCOUT= skipv:0.48.1
+post-patch:
+ ${REINPLACE_CMD} -e 's,{__version__},${DISTVERSION},g' \
+ ${WRKSRC}/toot/cli/diag.py
+ ${REINPLACE_CMD} -e '174s,__version__,"${DISTVERSION}",g' \
+ ${WRKSRC}/toot/cli/__init__.py
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/toot \
diff --git a/net-im/toot/distinfo b/net-im/toot/distinfo
index b5a61a3c5c79..c13e689249d0 100644
--- a/net-im/toot/distinfo
+++ b/net-im/toot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746327277
-SHA256 (toot-0.48.0.tar.gz) = 7e9134a1568ac5f4d1bc63c26795cba85b07d832871fb0b8cb5d80d7f749d096
-SIZE (toot-0.48.0.tar.gz) = 1476183
+TIMESTAMP = 1751288273
+SHA256 (toot-0.48.1.tar.gz) = 99629e24bc4ef3fb22162b7742f4053648279f5e7e34b5ad53224b5d3e05a66c
+SIZE (toot-0.48.1.tar.gz) = 1328964