summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2025-09-14 13:08:37 +0200
committerJuraj Lutter <otis@FreeBSD.org>2025-09-14 13:13:12 +0200
commitd60bcea3003e9086c7ba3ed4915b64442958ca75 (patch)
treeb02cf4e1e6219ee4a82fd32faa3808eb2303d811
parentemulators/amiberry: New port: Optimised Amiga emulator (diff)
misc/py-haystack_ai: Add new port
Haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more. Sponsored by: resulta.tech
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-haystack_ai/Makefile34
-rw-r--r--misc/py-haystack_ai/distinfo3
-rw-r--r--misc/py-haystack_ai/pkg-descr6
4 files changed, 44 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index fd9b72b5a124..e7d75ce3afec 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -456,6 +456,7 @@
SUBDIR += py-gpiozero
SUBDIR += py-gymnasium
SUBDIR += py-halo
+ SUBDIR += py-haystack_ai
SUBDIR += py-hf-doc-builder
SUBDIR += py-hf-xet
SUBDIR += py-hist
diff --git a/misc/py-haystack_ai/Makefile b/misc/py-haystack_ai/Makefile
new file mode 100644
index 000000000000..5ffd5a5be3e9
--- /dev/null
+++ b/misc/py-haystack_ai/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= haystack_ai
+PORTVERSION= 2.17.1
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= End-to-end LLM framework
+WWW= https://github.com/deepset-ai/haystack
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tenacity>0:devel/py-tenacity@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lazy_imports>0:devel/py-lazy_imports@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}openai>0:misc/py-openai@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}posthog>0:misc/py-posthog@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}filetype>0:devel/py-filetype@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+.include <bsd.port.mk>
diff --git a/misc/py-haystack_ai/distinfo b/misc/py-haystack_ai/distinfo
new file mode 100644
index 000000000000..39e350d72c24
--- /dev/null
+++ b/misc/py-haystack_ai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757594976
+SHA256 (haystack_ai-2.17.1.tar.gz) = dffd79c2202a93a95dbf31bbb888027f8e78791902ef984974f0409059a9eb30
+SIZE (haystack_ai-2.17.1.tar.gz) = 394779
diff --git a/misc/py-haystack_ai/pkg-descr b/misc/py-haystack_ai/pkg-descr
new file mode 100644
index 000000000000..5a15860612ff
--- /dev/null
+++ b/misc/py-haystack_ai/pkg-descr
@@ -0,0 +1,6 @@
+Haystack is an end-to-end LLM framework that allows you to build applications
+powered by LLMs, Transformer models, vector search and more. Whether you want
+to perform retrieval-augmented generation (RAG), document search, question
+answering or answer generation, Haystack can orchestrate state-of-the-art
+embedding models and LLMs into pipelines to build end-to-end NLP applications
+and solve your use case.