aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 01:38:02 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 05:20:15 +0000
commit8589985d04dbd0b4456f39ebd80131195bf399f8 (patch)
tree82600251c548edb76db44deb56421884869f4c74
parentadfff0b182fee7c58d4b04ff030e782ea771affe (diff)
textproc/py-llama-index-workflows: New port: Event-driven, async-first, step-based execution for AI applications
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-llama-index-workflows/Makefile30
-rw-r--r--textproc/py-llama-index-workflows/distinfo3
-rw-r--r--textproc/py-llama-index-workflows/pkg-descr4
4 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6dc9b76dca1c..c3d4412c43f0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1483,6 +1483,7 @@
SUBDIR += py-lingua-language-detector
SUBDIR += py-linkify-it-py
SUBDIR += py-llama-index-instrumentation
+ SUBDIR += py-llama-index-workflows
SUBDIR += py-llguidance
SUBDIR += py-m2r
SUBDIR += py-mako
diff --git a/textproc/py-llama-index-workflows/Makefile b/textproc/py-llama-index-workflows/Makefile
new file mode 100644
index 000000000000..bb7c53c50902
--- /dev/null
+++ b/textproc/py-llama-index-workflows/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= llama-index-workflows
+PORTVERSION= 2.22.2
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Event-driven, async-first, step-based execution for AI applications
+WWW= https://pypi.org/project/llama-index-workflows/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llama-index-instrumentation>=0.4.3:textproc/py-llama-index-instrumentation@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.11.5:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+NO_ARCH= yes
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0:devel/py-uv-build@${PY_FLAVOR}
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \
+ -e '/^license-files/d' \
+ -e 's/uv_build>=0\.9\.10,<0\.10\.0/uv_build>=0/' ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/textproc/py-llama-index-workflows/distinfo b/textproc/py-llama-index-workflows/distinfo
new file mode 100644
index 000000000000..343fdf72839f
--- /dev/null
+++ b/textproc/py-llama-index-workflows/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783067343
+SHA256 (llama_index_workflows-2.22.2.tar.gz) = 97b64bcf72e77e1a0380068cda09e5d0774b75abdb891096c433686c2f299e3e
+SIZE (llama_index_workflows-2.22.2.tar.gz) = 136430
diff --git a/textproc/py-llama-index-workflows/pkg-descr b/textproc/py-llama-index-workflows/pkg-descr
new file mode 100644
index 000000000000..c77a3e6be982
--- /dev/null
+++ b/textproc/py-llama-index-workflows/pkg-descr
@@ -0,0 +1,4 @@
+LlamaIndex Workflows provides an event-driven, async-first, step-based
+framework for controlling the execution flow of AI applications. It
+enables building complex, multi-step AI agents and pipelines with
+reliable execution semantics and observability.