diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile index 8a3c3617022b..2b2c5ce1efb3 100644 --- a/net-im/toot/Makefile +++ b/net-im/toot/Makefile @@ -1,56 +1,53 @@ PORTNAME= toot -DISTVERSION= 0.51.0 +DISTVERSION= 0.51.1 CATEGORIES= net-im python 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 \ https://pypi.org/project/toot LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.0<5.0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.1<9:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.1<3.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.13<3.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.0<1.0:textproc/py-tomlkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wcwidth>=0.1.7:devel/py-wcwidth@${PY_FLAVOR} USES= python:build,run USE_PYTHON= flavors NO_ARCH= yes NO_BUILD= yes -NO_INSTALL= yes SUB_FILES= ${PORTNAME} SUB_LIST= PYTHON_CMD=${PYTHON_CMD} OPTIONS_DEFAULT= IMAGES RICHTEXT OPTIONS_GROUP= SUPPORT OPTIONS_GROUP_SUPPORT= IMAGES RICHTEXT IMAGES_DESC= Required to display images in the TUI RICHTEXT_DESC= Required to display rich text in the TUI IMAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=9.5.0:graphics/py-pillow@${PY_FLAVOR} \ ${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} post-patch: - @${REINPLACE_CMD} -e 's,{__version__},${DISTVERSION},g' \ - ${WRKSRC}/${PORTNAME}/cli/diag.py - @${REINPLACE_CMD} -e '175s,__version__,"${DISTVERSION}",g' \ - ${WRKSRC}/${PORTNAME}/cli/__init__.py + @${REINPLACE_CMD} -e '12s,"0.0.0","${DISTVERSION}",g' \ + ${WRKSRC}/${PORTNAME}/__init__.py do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/${PORTNAME} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} \ "! -name *\.bak") .include diff --git a/net-im/toot/distinfo b/net-im/toot/distinfo index 208346c67a19..9cb84a5d4553 100644 --- a/net-im/toot/distinfo +++ b/net-im/toot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761909309 -SHA256 (toot-0.51.0.tar.gz) = 48e2c422c92aebca20c1913238b6dbff969a048ee4eaa70d62921a1e58415797 -SIZE (toot-0.51.0.tar.gz) = 1316620 +TIMESTAMP = 1770910432 +SHA256 (toot-0.51.1.tar.gz) = d224183a19236508a803fdee9b18a39cc5932c4aa8b1db2e1c602b1f51aa3612 +SIZE (toot-0.51.1.tar.gz) = 1317199