aboutsummaryrefslogtreecommitdiff
path: root/misc/py-cohere
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-15 05:38:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-15 07:47:30 +0000
commitef5a0e85c2f3ea2c1686d7b25fc6654b32ee4f1f (patch)
tree47202ea49a77b8d9bdbcd1877b593a796eb49659 /misc/py-cohere
parentb912893465eb2d2006d1081ed9f4ed11316bcf8e (diff)
Diffstat (limited to 'misc/py-cohere')
-rw-r--r--misc/py-cohere/Makefile30
-rw-r--r--misc/py-cohere/distinfo3
-rw-r--r--misc/py-cohere/pkg-descr3
3 files changed, 36 insertions, 0 deletions
diff --git a/misc/py-cohere/Makefile b/misc/py-cohere/Makefile
new file mode 100644
index 000000000000..4b895b948d11
--- /dev/null
+++ b/misc/py-cohere/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= cohere
+DISTVERSION= 7.0.5
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Cohere Python SDK
+WWW= https://docs.cohere.com/ \
+ https://github.com/cohere-ai/cohere-python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastavro>=1.9.4:misc/py-fastavro@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0.21.2:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.9.2:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.18.2:devel/py-pydantic-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tokenizers>=0.15:textproc/py-tokenizers@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}types-requests>=2.0.0:devel/py-types-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-cohere/distinfo b/misc/py-cohere/distinfo
new file mode 100644
index 000000000000..0ecd5143007f
--- /dev/null
+++ b/misc/py-cohere/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1784073025
+SHA256 (cohere-7.0.5.tar.gz) = 7fc682bb5c408402fc5ce59322bfa3f6aae27bde1ecc2450b0a25370040707ed
+SIZE (cohere-7.0.5.tar.gz) = 208820
diff --git a/misc/py-cohere/pkg-descr b/misc/py-cohere/pkg-descr
new file mode 100644
index 000000000000..c64f98c12ed2
--- /dev/null
+++ b/misc/py-cohere/pkg-descr
@@ -0,0 +1,3 @@
+The Cohere Python SDK allows access to Cohere models across many different
+platforms: the Cohere platform, AWS (Bedrock, Sagemaker), Azure, GCP and
+Oracle OCI.