aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:15:54 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:15:54 +0000
commit5d2e6b254b42c27127e0ea07ba147a5d492256f7 (patch)
treebcd8e4fddf38f0e4ccf5a48f6cfd892712fa1588
parent5e7f2dc9acac85fe838076a5d6e04f3902d7b240 (diff)
misc/py-llama-index-llms-openai-like: New port: LlamaIndex LLMs OpenAI-like integration
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-llama-index-llms-openai-like/Makefile26
-rw-r--r--misc/py-llama-index-llms-openai-like/distinfo3
-rw-r--r--misc/py-llama-index-llms-openai-like/pkg-descr4
4 files changed, 34 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index d144036ad4a0..586ca641b675 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -557,6 +557,7 @@
SUBDIR += py-llama-index-embeddings-huggingface
SUBDIR += py-llama-index-llms-ibm
SUBDIR += py-llama-index-llms-openai
+ SUBDIR += py-llama-index-llms-openai-like
SUBDIR += py-llm
SUBDIR += py-llm-claude-3
SUBDIR += py-lm-format-enforcer
diff --git a/misc/py-llama-index-llms-openai-like/Makefile b/misc/py-llama-index-llms-openai-like/Makefile
new file mode 100644
index 000000000000..c3c84b0e79b8
--- /dev/null
+++ b/misc/py-llama-index-llms-openai-like/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= llama-index-llms-openai-like
+PORTVERSION= 0.7.2
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= LlamaIndex LLMs OpenAI-like integration
+WWW= https://pypi.org/project/llama-index-llms-openai-like/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llama-index-core>=0.14.3:misc/py-llama-index-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}llama-index-llms-openai>=0.7.0:misc/py-llama-index-llms-openai@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' -e '/^license-files/d' ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/misc/py-llama-index-llms-openai-like/distinfo b/misc/py-llama-index-llms-openai-like/distinfo
new file mode 100644
index 000000000000..f481b592ca6e
--- /dev/null
+++ b/misc/py-llama-index-llms-openai-like/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783067633
+SHA256 (llama_index_llms_openai_like-0.7.2.tar.gz) = ed9ff73f975dce470f98ac61c982151ba78eedfa3fb9b03894bc1d1312b213ff
+SIZE (llama_index_llms_openai_like-0.7.2.tar.gz) = 5389
diff --git a/misc/py-llama-index-llms-openai-like/pkg-descr b/misc/py-llama-index-llms-openai-like/pkg-descr
new file mode 100644
index 000000000000..dd46d729604e
--- /dev/null
+++ b/misc/py-llama-index-llms-openai-like/pkg-descr
@@ -0,0 +1,4 @@
+LlamaIndex LLMs OpenAI-Like provides integration for OpenAI-compatible
+API endpoints within LlamaIndex. It enables the use of self-hosted and
+third-party LLM services that expose an OpenAI-compatible API interface
+within LlamaIndex pipelines.