git: 772790173824 - main - misc/py-llama-index-core: New port: Interface between LLMs and your data

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 09 Jul 2026 08:16:57 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7727901738248a6dc01f8e4259d59419c487229d

commit 7727901738248a6dc01f8e4259d59419c487229d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-09 07:39:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-09 07:39:58 +0000

    misc/py-llama-index-core: New port: Interface between LLMs and your data
---
 misc/Makefile                      |  1 +
 misc/py-llama-index-core/Makefile  | 53 ++++++++++++++++++++++++++++++++++++++
 misc/py-llama-index-core/distinfo  |  3 +++
 misc/py-llama-index-core/pkg-descr |  4 +++
 4 files changed, 61 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 35f62204e008..2a4dc65aaf1a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -549,6 +549,7 @@
     SUBDIR += py-litellm
     SUBDIR += py-litellm-proxy-extras
     SUBDIR += py-llama-cpp-python
+    SUBDIR += py-llama-index-core
     SUBDIR += py-llm
     SUBDIR += py-llm-claude-3
     SUBDIR += py-lm-format-enforcer
diff --git a/misc/py-llama-index-core/Makefile b/misc/py-llama-index-core/Makefile
new file mode 100644
index 000000000000..1961cfb1db03
--- /dev/null
+++ b/misc/py-llama-index-core/Makefile
@@ -0,0 +1,53 @@
+PORTNAME=	llama-index-core
+PORTVERSION=	0.14.23
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Interface between LLMs and your data
+WWW=		https://llamaindex.ai
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.6:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}banks>=2.3.0:misc/py-banks@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dataclasses-json>0:devel/py-dataclasses-json@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.9.3:devel/py-deprecated@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dirtyjson>=1.0.8:textproc/py-dirtyjson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}eval-type-backport>=0.2.0:devel/py-eval-type-backport@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}filetype>=1.2.0:devel/py-filetype@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fsspec>=2023.5.0:filesystems/py-fsspec@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}llama-index-workflows>=2.14.0:textproc/py-llama-index-workflows@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nest-asyncio>=1.5.8:devel/py-nest-asyncio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=3.0:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nltk>=3.9.3:textproc/py-nltk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=9.0.0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.8.0:devel/py-pydantic2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.4.49:databases/py-sqlalchemy20@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tenacity>=8.2.0:devel/py-tenacity@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tiktoken>=0.7.0:textproc/py-tiktoken@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tinytag>=2.2.0:audio/py-tinytag@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>=4.66.1:misc/py-tqdm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-inspect>=0.8.0:devel/py-typing-inspect@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt@${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-core/distinfo b/misc/py-llama-index-core/distinfo
new file mode 100644
index 000000000000..15d202dbb435
--- /dev/null
+++ b/misc/py-llama-index-core/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783066200
+SHA256 (llama_index_core-0.14.23.tar.gz) = c4baf2f2ab4f84e95090fe7941e0c87d6c514304f7bd2a749b8fa22164c1822b
+SIZE (llama_index_core-0.14.23.tar.gz) = 11588373
diff --git a/misc/py-llama-index-core/pkg-descr b/misc/py-llama-index-core/pkg-descr
new file mode 100644
index 000000000000..bd0c94396dff
--- /dev/null
+++ b/misc/py-llama-index-core/pkg-descr
@@ -0,0 +1,4 @@
+LlamaIndex Core is the central framework for building LLM-powered
+data applications. It provides the interface between large language
+models and external data sources, enabling indexing, retrieval, and
+querying of structured and unstructured data for RAG applications.