FreeBSD Bugzilla – Attachment 256163 Details for
Bug 283634
net-im/toot: Update to 0.47.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net-im/toot.patch
toot.patch (text/plain), 6.32 KB, created by
Yusuf Yaman
on 2024-12-26 19:55:08 UTC
(
hide
)
Description:
net-im/toot.patch
Filename:
MIME Type:
Creator:
Yusuf Yaman
Created:
2024-12-26 19:55:08 UTC
Size:
6.32 KB
patch
obsolete
>From 316bb17b0498b7deaaa09eac9dbc471cf1647a63 Mon Sep 17 00:00:00 2001 >From: Yusuf Yaman <nxjoseph@protonmail.com> >Date: Thu, 26 Dec 2024 22:47:54 +0300 >Subject: [PATCH] net-im/toot: Update to 0.47.1 > >Port changes: >* Change maintainer >* Update dependencies >* Use flavors, switch to manual install method > because there is no setup.py anymore >* Used portlint and portclippy > >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 | 34 +++++++++++++++++++++--------- > net-im/toot/distinfo | 6 +++--- > net-im/toot/files/toot.in | 8 +++++++ > net-im/toot/pkg-plist | 44 +++++++++++++++++++++++++++++++++++++++ > 4 files changed, 79 insertions(+), 13 deletions(-) > create mode 100644 net-im/toot/files/toot.in > create mode 100644 net-im/toot/pkg-plist > >diff --git a/net-im/toot/Makefile b/net-im/toot/Makefile >index 01645e5a28a5..e63e3c4b97b8 100644 >--- a/net-im/toot/Makefile >+++ b/net-im/toot/Makefile >@@ -1,11 +1,11 @@ > PORTNAME= toot >-PORTVERSION= 0.42.0 >+PORTVERSION= 0.47.1 >+CATEGORIES= net-im python > MASTER_SITES= PYPI \ > https://github.com/ihabunek/toot/releases/download/${PORTVERSION}/ >-CATEGORIES= net-im python > 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,32 @@ 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}typing-extensions>=0:devel/py-typing-extensions@${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 <bsd.port.mk> >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 >-- >2.47.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283634
: 256163