aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:09:37 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:09:37 +0000
commite387acc8431cf25e4cde250c473618b12705c110 (patch)
tree5baba4fbc2d387006b7d3019251287fffb641018
parent925cfb2c4cd28a4a0ffead3e5abbfcccdca00383 (diff)
misc/py-llama-index-llms-ibm: New port: LlamaIndex LLMs IBM watsonx.ai integration
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-llama-index-llms-ibm/Makefile27
-rw-r--r--misc/py-llama-index-llms-ibm/distinfo3
-rw-r--r--misc/py-llama-index-llms-ibm/pkg-descr4
4 files changed, 35 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index e8bc4944d943..d84b5e6a4d1a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -555,6 +555,7 @@
SUBDIR += py-llama-cpp-python
SUBDIR += py-llama-index-core
SUBDIR += py-llama-index-embeddings-huggingface
+ SUBDIR += py-llama-index-llms-ibm
SUBDIR += py-llm
SUBDIR += py-llm-claude-3
SUBDIR += py-lm-format-enforcer
diff --git a/misc/py-llama-index-llms-ibm/Makefile b/misc/py-llama-index-llms-ibm/Makefile
new file mode 100644
index 000000000000..fafa0ac5f8a4
--- /dev/null
+++ b/misc/py-llama-index-llms-ibm/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= llama-index-llms-ibm
+DISTVERSION= 0.7.0.post1
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= llama_index_llms_ibm-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= LlamaIndex LLMs IBM watsonx.ai integration
+WWW= https://pypi.org/project/llama-index-llms-ibm/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ibm-watsonx-ai>=1.5.0:misc/py-ibm-watsonx-ai@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}llama-index-core>=0.13.0:misc/py-llama-index-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyarrow>0:databases/py-pyarrow@${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-ibm/distinfo b/misc/py-llama-index-llms-ibm/distinfo
new file mode 100644
index 000000000000..f5b013310316
--- /dev/null
+++ b/misc/py-llama-index-llms-ibm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783067633
+SHA256 (llama_index_llms_ibm-0.7.0.post1.tar.gz) = 7026baa92ad59329873d1200d110659ec2ea244408397102ab6362c7d93311ef
+SIZE (llama_index_llms_ibm-0.7.0.post1.tar.gz) = 10331
diff --git a/misc/py-llama-index-llms-ibm/pkg-descr b/misc/py-llama-index-llms-ibm/pkg-descr
new file mode 100644
index 000000000000..68095c03a394
--- /dev/null
+++ b/misc/py-llama-index-llms-ibm/pkg-descr
@@ -0,0 +1,4 @@
+LlamaIndex LLMs IBM provides IBM watsonx.ai integration for
+LlamaIndex. It enables the use of IBM's large language models
+within LlamaIndex pipelines for retrieval-augmented generation
+and other LLM-powered applications.