misc/py-oterm: Remove port
Leaf libraries not relevant to server environment
This commit is contained in:
@@ -4687,6 +4687,7 @@ misc/py-orange3-datafusion
|
||||
misc/py-orange3-educational
|
||||
misc/py-orange3-network
|
||||
misc/py-orange3-timeseries
|
||||
misc/py-oterm
|
||||
misc/py-pymatreader
|
||||
misc/py-pytorch-lightning
|
||||
misc/py-QSpectrumAnalyzer
|
||||
|
||||
@@ -389,7 +389,6 @@
|
||||
SUBDIR += py-openai-whisper
|
||||
SUBDIR += py-openpaperwork-core
|
||||
SUBDIR += py-openpaperwork-gtk
|
||||
SUBDIR += py-oterm
|
||||
SUBDIR += py-palettable
|
||||
SUBDIR += py-papermill
|
||||
SUBDIR += py-pdd
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
PORTNAME= oterm
|
||||
DISTVERSION= 0.9.3
|
||||
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}hatchling>=1.25.0:devel/py-hatchling@${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.4.7:misc/py-ollama@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mcp>=1.3.0:misc/py-mcp@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja2>=0.3.1:devel/py-Jinja2@${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}pydantic2>=2.10.1:devel/py-pydantic2@${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.85.2:textproc/py-textual@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}textualeffects>=0.1.3:devel/py-textualeffects@${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
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1742291364
|
||||
SHA256 (oterm-0.9.3.tar.gz) = bcd3dba6aefae877f00fc6c1a2b5efc8a7f8a3ccdfb6afd81ce00f889593ac06
|
||||
SIZE (oterm-0.9.3.tar.gz) = 1678143
|
||||
@@ -1,26 +0,0 @@
|
||||
--- src/oterm/utils.py.orig 2020-02-02 00:00:00 UTC
|
||||
+++ src/oterm/utils.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-import sys
|
||||
+import platform
|
||||
from importlib import metadata
|
||||
from pathlib import Path
|
||||
|
||||
@@ -59,12 +59,13 @@ def get_default_data_dir() -> Path:
|
||||
home = Path.home()
|
||||
|
||||
system_paths = {
|
||||
- "win32": home / "AppData/Roaming/oterm",
|
||||
- "linux": home / ".local/share/oterm",
|
||||
- "darwin": home / "Library/Application Support/oterm",
|
||||
+ "Darwin": home / "Library/Application Support/oterm",
|
||||
+ "FreeBSD": home / ".local/share/oterm",
|
||||
+ "Linux": home / ".local/share/oterm",
|
||||
+ "Windows": home / "AppData/Roaming/oterm",
|
||||
}
|
||||
|
||||
- data_path = system_paths[sys.platform]
|
||||
+ data_path = system_paths[platform.system()]
|
||||
return data_path
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
Oterm is a text-based terminal client for Ollama.
|
||||
|
||||
Features
|
||||
|
||||
- intuitive and simple terminal UI, no need to run servers, frontends, just
|
||||
type oterm in your terminal.
|
||||
- multiple persistent chat sessions, stored together with the context
|
||||
embeddings and system prompt customizations in sqlite.
|
||||
- can use any of the models you have pulled in Ollama, or your own custom
|
||||
models.
|
||||
- allows for easy customization of the model's system prompt and parameters.
|
||||
Reference in New Issue
Block a user