From nobody Fri Dec 27 17:31:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YKXc173ljz5j4k7; Fri, 27 Dec 2024 17:31:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKXc16Qhjz46vH; Fri, 27 Dec 2024 17:31:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735320705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cDgvzp16KDs/mo76pkWvb4hCxpRFL0ibWIGxVSh0NBU=; b=t0d/c8QUqXA3QSRSdOBoWxNuP2MCgQrfK4OvTJ7t3IupOQ+ohwCtymo2GC8iVHUxg6d61v 7rExZbyYGLDJ7c2Gr0i2+l1VMBViFMFNb9PR6gsM+4qBbInP404EX+xEIISm/4Jf3BcK8A bXJDNZbUQyZ+GHF+oEAzgEVH9R4QoUsKZUN800E+ALx+01LsyfRZ3me+At1yE7w7+yfn4F U1nRyLxph+8UHrvlqh29Xv9UvgMf6oda/TsSvIQkzY8zPXmThJIuJSt1pUilrI7b1+gbbe MN9rzeiYOFgRr+4kk0kWTpCyGpKqSYe1/TpSResCs9u4y49bdkxDWICHIGRGVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735320705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cDgvzp16KDs/mo76pkWvb4hCxpRFL0ibWIGxVSh0NBU=; b=R15pvncULAvQpp2Cghe9uNsiHAFmXNWJ4rgDPAv7egPHZk4y0qV4YGrGFKK/jRhwC8jAUU RI/y55z7EQIU2CmMzYUp59cRr9tnIICRtrfv+qFlgnD751YCJ1WvFxbjoM0WLYm3Ruzx9J 2Ayk0q5t9u4NooLWvLyPAS33zGoIA3htWkGdfwGTvzhMrler2gEEQT9kkwVnqdF6947tNk vjHsbPZIDNNxPLLAhflMwjDLhsmVS8dUu2x/RYylut7EeWCLiOogXkiDYwsnbjERk/pxdT D0I5jyqy68SmtiKA2zv6UginCOugZT5DUhiDsJVv3Q7Gm9Pi0/IdZmFit+5AuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735320705; a=rsa-sha256; cv=none; b=sdcwjk6MsPOnEpowvh56aSrZCUJf51IM7FakFsTX7LUFOiRhur5jxa8vrb1bO5slxw907X 5IskZRi6+15YZ5lyEb2dvsACouliiVaAHMYPoTmWtVv6rp17IiHNmj/deyi+WLX6XR+xLx jhMsF4Vnc8OyMTtTOBV8TrRaJOI2wm3/biXnINlDP1ZYbJUY8bDiWy4BbZUPO3m0gpfEQ8 cdK2k73S8DYPVTuMDsbCHU3G2E1dBj47LERuT4y8CmFJ7IWMhn3aHdqnSyBUa+ErqC635x MnZhPH73pTdiWwhLW+unEe4D6Mv66ocZ4yysm5yRArefzWshCZn+vOMkNsqv6w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YKXc161qGznxC; Fri, 27 Dec 2024 17:31:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BRHVjSB090863; Fri, 27 Dec 2024 17:31:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BRHVjas090860; Fri, 27 Dec 2024 17:31:45 GMT (envelope-from git) Date: Fri, 27 Dec 2024 17:31:45 GMT Message-Id: <202412271731.4BRHVjas090860@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 02f364b4dfaa - main - net-im/toot: Update to 0.47.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02f364b4dfaa944c92a5fd29003726ae02ed55d7 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=02f364b4dfaa944c92a5fd29003726ae02ed55d7 commit 02f364b4dfaa944c92a5fd29003726ae02ed55d7 Author: Yusuf Yaman AuthorDate: 2024-12-27 17:28:18 +0000 Commit: Zsolt Udvari CommitDate: 2024-12-27 17:31:30 +0000 net-im/toot: Update to 0.47.1 Use python-flavors. Switch to manuall install method because there is no setup.py anymore. Switch to DISTVERSION. Submitter takes maintainership. Changelogs: https://github.com/ihabunek/toot/releases/tag/0.43.0 https://github.com/ihabunek/toot/releases/tag/0.44.0 https://github.com/ihabunek/toot/releases/tag/0.44.1 https://github.com/ihabunek/toot/releases/tag/0.45.0 https://github.com/ihabunek/toot/releases/tag/0.46.0 https://github.com/ihabunek/toot/releases/tag/0.47.0 https://github.com/ihabunek/toot/releases/tag/0.47.1 PR: 283634 --- net-im/toot/Makefile | 35 +++++++++++++++++++++++++---------- net-im/toot/distinfo | 6 +++--- net-im/toot/files/toot.in | 8 ++++++++ net-im/toot/pkg-plist | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 13 deletions(-) diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile index 01645e5a28a5..957dd1e91f62 100644 --- a/net-im/toot/Makefile +++ b/net-im/toot/Makefile @@ -1,11 +1,11 @@ PORTNAME= toot -PORTVERSION= 0.42.0 -MASTER_SITES= PYPI \ - https://github.com/ihabunek/toot/releases/download/${PORTVERSION}/ +DISTVERSION= 0.47.1 CATEGORIES= net-im python +MASTER_SITES= PYPI \ + https://github.com/ihabunek/toot/releases/download/${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@freebsd.org +MAINTAINER= nxjoseph@protonmail.com COMMENT= Interact with the Mastodon social network from the command line WWW= https://github.com/ihabunek/toot @@ -16,18 +16,33 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.0<5.0:www/py-beautifulsou ${PYTHON_PKGNAMEPREFIX}click>=8.1<9:devel/py-click@${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}wcwidth>=0.1.7:devel/py-wcwidth@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}urwid>=2.0.0<3.0:devel/py-urwid@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}urwid>=2.0.0<3.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}psycopg2>=0:databases/py-psycopg2@${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} \ - ${PYTHON_PKGNAMEPREFIX}urwidgets>=0.1:devel/py-urwidgets@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}urwidgets>=0:devel/py-urwidgets@${PY_FLAVOR} -USES= python -USE_PYTHON= autoplist distutils pytest +USES= python:3.8+ +USE_PYTHON= flavors pytest NO_ARCH= yes +NO_BUILD= yes +NO_INSTALL= yes + +SUB_FILES= toot +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/toot \ + ${STAGEDIR}${PREFIX}/bin/toot + (cd ${WRKSRC}/${PORTNAME} && \ + ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/{} \ + \; && \ + ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/{} \ + \;) .include diff --git a/net-im/toot/distinfo b/net-im/toot/distinfo index f307ae7286f5..b2fd38e376a1 100644 --- a/net-im/toot/distinfo +++ b/net-im/toot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712886516 -SHA256 (toot-0.42.0.tar.gz) = 6f6c128f7111ff945de6f67386083d1426d086beda4f40b410b8f646409183ef -SIZE (toot-0.42.0.tar.gz) = 1000822 +TIMESTAMP = 1735070581 +SHA256 (toot-0.47.1.tar.gz) = fae758b50d22c019379a1f90ac0fe7adfc152ce8899005e463b36ee2e88abc2b +SIZE (toot-0.47.1.tar.gz) = 1318249 diff --git a/net-im/toot/files/toot.in b/net-im/toot/files/toot.in new file mode 100644 index 000000000000..af8a6c3c302b --- /dev/null +++ b/net-im/toot/files/toot.in @@ -0,0 +1,8 @@ +#!%%PYTHON_CMD%% +# -*- coding: utf-8 -*- +import re +import sys +from toot.cli import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/net-im/toot/pkg-plist b/net-im/toot/pkg-plist new file mode 100644 index 000000000000..ae2888f13fa6 --- /dev/null +++ b/net-im/toot/pkg-plist @@ -0,0 +1,44 @@ +bin/toot +%%PYTHON_SITELIBDIR%%/toot/__init__.py +%%PYTHON_SITELIBDIR%%/toot/__main__.py +%%PYTHON_SITELIBDIR%%/toot/api.py +%%PYTHON_SITELIBDIR%%/toot/auth.py +%%PYTHON_SITELIBDIR%%/toot/cache.py +%%PYTHON_SITELIBDIR%%/toot/cli/__init__.py +%%PYTHON_SITELIBDIR%%/toot/cli/accounts.py +%%PYTHON_SITELIBDIR%%/toot/cli/auth.py +%%PYTHON_SITELIBDIR%%/toot/cli/diag.py +%%PYTHON_SITELIBDIR%%/toot/cli/lists.py +%%PYTHON_SITELIBDIR%%/toot/cli/post.py +%%PYTHON_SITELIBDIR%%/toot/cli/read.py +%%PYTHON_SITELIBDIR%%/toot/cli/statuses.py +%%PYTHON_SITELIBDIR%%/toot/cli/tags.py +%%PYTHON_SITELIBDIR%%/toot/cli/timelines.py +%%PYTHON_SITELIBDIR%%/toot/cli/tui.py +%%PYTHON_SITELIBDIR%%/toot/cli/validators.py +%%PYTHON_SITELIBDIR%%/toot/config.py +%%PYTHON_SITELIBDIR%%/toot/entities.py +%%PYTHON_SITELIBDIR%%/toot/exceptions.py +%%PYTHON_SITELIBDIR%%/toot/http.py +%%PYTHON_SITELIBDIR%%/toot/logging.py +%%PYTHON_SITELIBDIR%%/toot/output.py +%%PYTHON_SITELIBDIR%%/toot/settings.py +%%PYTHON_SITELIBDIR%%/toot/tui/NOTES.md +%%PYTHON_SITELIBDIR%%/toot/tui/__init__.py +%%PYTHON_SITELIBDIR%%/toot/tui/app.py +%%PYTHON_SITELIBDIR%%/toot/tui/compose.py +%%PYTHON_SITELIBDIR%%/toot/tui/constants.py +%%PYTHON_SITELIBDIR%%/toot/tui/entities.py +%%PYTHON_SITELIBDIR%%/toot/tui/images.py +%%PYTHON_SITELIBDIR%%/toot/tui/overlays.py +%%PYTHON_SITELIBDIR%%/toot/tui/poll.py +%%PYTHON_SITELIBDIR%%/toot/tui/richtext/__init__.py +%%PYTHON_SITELIBDIR%%/toot/tui/richtext/richtext.py +%%PYTHON_SITELIBDIR%%/toot/tui/scroll.py +%%PYTHON_SITELIBDIR%%/toot/tui/timeline.py +%%PYTHON_SITELIBDIR%%/toot/tui/utils.py +%%PYTHON_SITELIBDIR%%/toot/tui/widgets.py +%%PYTHON_SITELIBDIR%%/toot/utils/__init__.py +%%PYTHON_SITELIBDIR%%/toot/utils/datetime.py +%%PYTHON_SITELIBDIR%%/toot/utils/language.py +%%PYTHON_SITELIBDIR%%/toot/wcstring.py