diff options
| author | Nicola Vitale <nivit@FreeBSD.org> | 2024-08-08 12:11:44 +0000 |
|---|---|---|
| committer | Nicola Vitale <nivit@FreeBSD.org> | 2024-08-08 12:11:44 +0000 |
| commit | 5d031129e423d7880d16c5a0f8a4daa2a093d218 (patch) | |
| tree | e4b1319ebea14a3e412f5d99cb7595782ebd24df | |
| parent | 3ee0491eb69ca417e4694daa9ddcc5ddfc69b217 (diff) | |
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
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-ollama/Makefile | 28 | ||||
| -rw-r--r-- | devel/py-ollama/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-ollama/pkg-descr | 2 |
4 files changed, 34 insertions, 0 deletions
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. |
