git: 5d031129e423 - main - devel/py-ollama: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Aug 2024 12:13:00 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d031129e423d7880d16c5a0f8a4daa2a093d218 commit 5d031129e423d7880d16c5a0f8a4daa2a093d218 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2024-08-08 12:11:44 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2024-08-08 12:11:44 +0000 devel/py-ollama: Add new port Ollama Python library provides the easiest way to integrate Python 3.8+ projects with Ollama. https://github.com/ollama/ollama-python --- devel/Makefile | 1 + devel/py-ollama/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-ollama/distinfo | 3 +++ devel/py-ollama/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4670fe0a5d1a..638f987dcca4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5208,6 +5208,7 @@ SUBDIR += py-offtrac SUBDIR += py-olefile SUBDIR += py-oletools + SUBDIR += py-ollama SUBDIR += py-omnijson SUBDIR += py-omniorb SUBDIR += py-onigurumacffi diff --git a/devel/py-ollama/Makefile b/devel/py-ollama/Makefile new file mode 100644 index 000000000000..0a3716a3f24e --- /dev/null +++ b/devel/py-ollama/Makefile @@ -0,0 +1,28 @@ +PORTNAME= ollama +DISTVERSION= 0.3.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Ollama Python library +WWW= https://github.com/ollama/ollama-python + +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}anyio>=4.3.0:devel/py-anyio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=2024.2.2:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.2.0:devel/py-exceptiongroup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h11>=0.14.0:net/py-h11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.4:www/py-httpcore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.27.0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=3.6:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>=1.3.1:devel/py-sniffio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.10.0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +.include <bsd.port.mk> diff --git a/devel/py-ollama/distinfo b/devel/py-ollama/distinfo new file mode 100644 index 000000000000..61e2a9cf7d97 --- /dev/null +++ b/devel/py-ollama/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723110519 +SHA256 (ollama-0.3.1.tar.gz) = 032572fb494a4fba200c65013fe937a65382c846b5f358d9e8918ecbc9ac44b5 +SIZE (ollama-0.3.1.tar.gz) = 10033 diff --git a/devel/py-ollama/pkg-descr b/devel/py-ollama/pkg-descr new file mode 100644 index 000000000000..3f0373c3941e --- /dev/null +++ b/devel/py-ollama/pkg-descr @@ -0,0 +1,2 @@ +The Ollama Python library provides the easiest way to integrate Python 3.8+ +projects with Ollama.