aboutsummaryrefslogtreecommitdiff
path: root/net-im/toot
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/toot')
-rw-r--r--net-im/toot/Makefile33
-rw-r--r--net-im/toot/distinfo6
-rw-r--r--net-im/toot/pkg-plist6
3 files changed, 21 insertions, 24 deletions
diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile
index d4b4f1e29078..8a3c3617022b 100644
--- a/net-im/toot/Makefile
+++ b/net-im/toot/Makefile
@@ -1,5 +1,5 @@
PORTNAME= toot
-DISTVERSION= 0.48.1
+DISTVERSION= 0.51.0
CATEGORIES= net-im python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,23 +17,17 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.0<5.0:www/py-beautifulsou
${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>=2.0.0<3.0:devel/py-urwid@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wcwidth>=0.1.7:devel/py-wcwidth@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pillow>=9.5.0:graphics/py-pillow@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
-USE_PYTHON= flavors pytest
+USES= python:build,run
+USE_PYTHON= flavors
NO_ARCH= yes
NO_BUILD= yes
NO_INSTALL= yes
-SUB_FILES= toot
+SUB_FILES= ${PORTNAME}
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
OPTIONS_DEFAULT= IMAGES RICHTEXT
@@ -48,18 +42,15 @@ IMAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=9.5.0:graphics/py-pillow@${PY
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}/toot/cli/diag.py
- ${REINPLACE_CMD} -e '174s,__version__,"${DISTVERSION}",g' \
- ${WRKSRC}/toot/cli/__init__.py
+ @${REINPLACE_CMD} -e 's,{__version__},${DISTVERSION},g' \
+ ${WRKSRC}/${PORTNAME}/cli/diag.py
+ @${REINPLACE_CMD} -e '175s,__version__,"${DISTVERSION}",g' \
+ ${WRKSRC}/${PORTNAME}/cli/__init__.py
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/toot \
- ${STAGEDIR}${PREFIX}/bin/toot
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC}/${PORTNAME} && \
- ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/{} \
- \; && \
- ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/{} \
- \;)
+ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} \
+ "! -name *\.bak")
.include <bsd.port.mk>
diff --git a/net-im/toot/distinfo b/net-im/toot/distinfo
index c13e689249d0..208346c67a19 100644
--- a/net-im/toot/distinfo
+++ b/net-im/toot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751288273
-SHA256 (toot-0.48.1.tar.gz) = 99629e24bc4ef3fb22162b7742f4053648279f5e7e34b5ad53224b5d3e05a66c
-SIZE (toot-0.48.1.tar.gz) = 1328964
+TIMESTAMP = 1761909309
+SHA256 (toot-0.51.0.tar.gz) = 48e2c422c92aebca20c1913238b6dbff969a048ee4eaa70d62921a1e58415797
+SIZE (toot-0.51.0.tar.gz) = 1316620
diff --git a/net-im/toot/pkg-plist b/net-im/toot/pkg-plist
index a5d3f304b236..b46bcc0058a4 100644
--- a/net-im/toot/pkg-plist
+++ b/net-im/toot/pkg-plist
@@ -8,7 +8,9 @@ bin/toot
%%PYTHON_SITELIBDIR%%/toot/cli/accounts.py
%%PYTHON_SITELIBDIR%%/toot/cli/auth.py
%%PYTHON_SITELIBDIR%%/toot/cli/diag.py
+%%PYTHON_SITELIBDIR%%/toot/cli/follow_requests.py
%%PYTHON_SITELIBDIR%%/toot/cli/lists.py
+%%PYTHON_SITELIBDIR%%/toot/cli/polls.py
%%PYTHON_SITELIBDIR%%/toot/cli/post.py
%%PYTHON_SITELIBDIR%%/toot/cli/read.py
%%PYTHON_SITELIBDIR%%/toot/cli/statuses.py
@@ -39,6 +41,10 @@ bin/toot
%%PYTHON_SITELIBDIR%%/toot/tui/timeline.py
%%PYTHON_SITELIBDIR%%/toot/tui/utils.py
%%PYTHON_SITELIBDIR%%/toot/tui/widgets.py
+%%PYTHON_SITELIBDIR%%/toot/urwidgets/README.md
+%%PYTHON_SITELIBDIR%%/toot/urwidgets/__init__.py
+%%PYTHON_SITELIBDIR%%/toot/urwidgets/hyperlink.py
+%%PYTHON_SITELIBDIR%%/toot/urwidgets/text_embed.py
%%PYTHON_SITELIBDIR%%/toot/utils/__init__.py
%%PYTHON_SITELIBDIR%%/toot/utils/datetime.py
%%PYTHON_SITELIBDIR%%/toot/utils/language.py