Date: Sun, 22 Mar 2026 19:28:38 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Christos Longros <chris.longros@gmail.com> Subject: git: c6e7f6e73722 - main - misc/py-ollama: update 0.=?utf-8?Q?4.7 =E2=86=92?= 0.6.1 Message-ID: <69c042e6.42c0e.51767b45@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6e7f6e73722cbf243bd36102cadd8d76777fbfb commit c6e7f6e73722cbf243bd36102cadd8d76777fbfb Author: Christos Longros <chris.longros@gmail.com> AuthorDate: 2026-03-22 18:07:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-03-22 19:28:35 +0000 misc/py-ollama: update 0.4.7 → 0.6.1 Differential Revision: https://reviews.freebsd.org/D56031 --- misc/py-ollama/Makefile | 13 ++++++++----- misc/py-ollama/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/misc/py-ollama/Makefile b/misc/py-ollama/Makefile index cd6b0a993ac9..793963dd4eb3 100644 --- a/misc/py-ollama/Makefile +++ b/misc/py-ollama/Makefile @@ -1,6 +1,6 @@ PORTNAME= ollama DISTVERSIONPREFIX= v -DISTVERSION= 0.4.7 +DISTVERSION= 0.6.1 CATEGORIES= misc # machine-learning #MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +12,10 @@ WWW= https://ollama.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.27.0<1:www/py-httpx@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.27:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.9:devel/py-pydantic2@${PY_FLAVOR} TEST_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.23.2:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1:devel/py-pytest-cov@${PY_FLAVOR} \ @@ -29,7 +31,8 @@ TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes -post-patch: # workaround for https://github.com/ollama/ollama-python/issues/249 - @${REINPLACE_CMD} -e 's|version = "0.0.0"|version = "${PORTVERSION}"|' ${WRKSRC}/pyproject.toml +post-patch: # workaround: hatch-vcs can't detect version without git repo + @${REINPLACE_CMD} -e "s|dynamic = \[ 'version' \]|version = '${PORTVERSION}'|" ${WRKSRC}/pyproject.toml + @${REINPLACE_CMD} -e '/\[tool.hatch.version\]/,/^$$/d' ${WRKSRC}/pyproject.toml .include <bsd.port.mk> diff --git a/misc/py-ollama/distinfo b/misc/py-ollama/distinfo index 5306dec01c4b..3f453a940301 100644 --- a/misc/py-ollama/distinfo +++ b/misc/py-ollama/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741784157 -SHA256 (ollama-ollama-python-v0.4.7_GH0.tar.gz) = 6d59d084ebf61d5eff140af25e40562e377823471a1933f191471b11b533288c -SIZE (ollama-ollama-python-v0.4.7_GH0.tar.gz) = 42483 +TIMESTAMP = 1742860800 +SHA256 (ollama-ollama-python-v0.6.1_GH0.tar.gz) = fad4a174f94a9200a0d2f43eccc4f736868d64445f2f4f62040664bedec45138 +SIZE (ollama-ollama-python-v0.6.1_GH0.tar.gz) = 55783home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c042e6.42c0e.51767b45>
