diff --git a/misc/py-oterm/Makefile b/misc/py-oterm/Makefile index 5f487674975e..35b5ee875c97 100644 --- a/misc/py-oterm/Makefile +++ b/misc/py-oterm/Makefile @@ -1,33 +1,32 @@ PORTNAME= oterm -DISTVERSION= 0.2.9 -PORTREVISION= 1 +DISTVERSION= 0.2.10 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Text-based terminal client for Ollama WWW= https://github.com/ggozad/oterm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosql>=10.1:databases/py-aiosql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiosqlite>=0.19.0:databases/py-aiosqlite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}linkify-it-py>=2.0.3:textproc/py-linkify-it-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.4.1:textproc/py-mdit-py-plugins@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ollama>=0.2.0:devel/py-ollama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=24.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=1.0.1:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich-pixels>=3.0.1:graphics/py-rich-pixels@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textual>=0.59.0:textproc/py-textual@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.12.3:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uc-micro-py>=1.0.3:textproc/py-uc-micro-py@${PY_FLAVOR} USES= python:3.10+ USE_PYTHON= autoplist pep517 .include diff --git a/misc/py-oterm/distinfo b/misc/py-oterm/distinfo index 7902e93a3e1d..af04cd3ac972 100644 --- a/misc/py-oterm/distinfo +++ b/misc/py-oterm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1723108230 -SHA256 (oterm-0.2.9.tar.gz) = 776aa5c87ce09e2c5ef3384e13e3ef31a9fa22a2b8a1b15e3a2ef5a89bb0bf67 -SIZE (oterm-0.2.9.tar.gz) = 20019 +TIMESTAMP = 1723221738 +SHA256 (oterm-0.2.10.tar.gz) = b4157293bfd238eac3bcd01ed6ad006a8bda37df8278db0f2f83008919d3835f +SIZE (oterm-0.2.10.tar.gz) = 20334 diff --git a/misc/py-oterm/files/patch-oterm_app_oterm.py b/misc/py-oterm/files/patch-oterm_app_oterm.py deleted file mode 100644 index e96637544753..000000000000 --- a/misc/py-oterm/files/patch-oterm_app_oterm.py +++ /dev/null @@ -1,11 +0,0 @@ ---- oterm/app/oterm.py.orig 2024-05-15 16:35:57 UTC -+++ oterm/app/oterm.py -@@ -72,7 +72,7 @@ class OTerm(App): - for id, name, model, context, system, format, keep_alive in saved_chats: - messages = await self.store.get_messages(id) - pane = TabPane(name, id=f"chat-{id}") -- await pane.mount( -+ pane.compose_add_child( - ChatContainer( - db_id=id, - chat_name=name,